Mailing List Archive

NFS woes!
Hi folks,

I need help in figuring out why i am having som real
bad nfs troubles. I would appreciate some advice. I
have included the information that i thought was
relevant. The authentication on the client happens
from the server using NIS. The authentication happens
flawlessly.


thank you
regards
confused.


setup:

cluster of machines on a private network each
connected on a gigabit network.

The home directory on the server is mounted on the
client side by the command mount r2d8:/export/home
/home . Happens instantaneously. ls -l works just
fine.

server : r2d8
client : r2d10


client side:
mount -v r2d8:/export/home /home
mount: no type was given - I'll assume nfs because of
the colon
mount: failed with nfs mount version 4, trying 3..
r2d8:/export/home on /home type nfs
(rw,addr=10.0.0.8,addr=10.0.0.Cool

client side:

the error : from logs
Oct 28 20:44:20 [kernel] nfs warning: mount version
older than kernel

client side:
------------

uname -a
Linux client 2.6.8-gentoo-r4 #2 SMP Mon Oct 4 08:41:38
EST 2004 x86_64 AMD Opteron(tm) Processor 248
AuthenticAMD GNU/Linux

client side :
-----------------------
du -h mpiping
392K mpiping

user@client user $ time cp mpiping test

real 1m55.550s
user 0m0.001s
sys 0m0.000s
------------------------

client side :
------------

tail /var/log/everything/current

Oct 28 19:36:10 [kernel] nfs: server r2d8 not
responding, still trying
- Last output repeated twice -
Oct 28 19:36:10 [kernel] nfs: server r2d8 OK
- Last output repeated twice -
Oct 28 19:36:24 [kernel] nfs: server r2d8 not
responding, still trying
Oct 28 19:36:24 [kernel] nfs: server r2d8 OK
Oct 28 19:36:27 [kernel] nfs: server r2d8 not
responding, still trying
Oct 28 19:36:27 [kernel] nfs: server r2d8 OK

client:
----------

netstat -a | grep nfs
tcp 0 0 *:nfs *:* LISTEN
udp 0 0 *:nfs *:*


client r2d10 :
--------------------

ping r2d8
PING r2d8 (10.0.0.Cool 56(84) bytes of data.
64 bytes from r2d8 (10.0.0.Cool: icmp_seq=1 ttl=64
time=0.082 ms


client r2d10:

rpcinfo -p r2d8
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
100011 1 udp 762 rquotad
100011 2 udp 762 rquotad
100011 1 tcp 765 rquotad
100011 2 tcp 765 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 udp 32770 nlockmgr
100021 3 udp 32770 nlockmgr
100021 4 udp 32770 nlockmgr
100005 1 udp 32771 mountd
100005 1 tcp 32770 mountd
100005 2 udp 32771 mountd
100005 2 tcp 32770 mountd
100005 3 udp 32771 mountd
100005 3 tcp 32770 mountd


server: r2d8
------------

uname -a
Linux server 2.4.20-30.9smp #1 SMP Wed Feb 4 20:27:46
EST 2004 i686 athlon i386 GNU/Linux

from server logs: r2d8
---------------------

rpc.mountd: authenticated mount request from r2d10:812
for /export/home (/export/home)

rpcinfo : server : r2d8
--------------------

rpcinfo -p localhost
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
100011 1 udp 762 rquotad
100011 2 udp 762 rquotad
100011 1 tcp 765 rquotad
100011 2 tcp 765 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 udp 32770 nlockmgr
100021 3 udp 32770 nlockmgr
100021 4 udp 32770 nlockmgr
100005 1 udp 32771 mountd
100005 1 tcp 32770 mountd
100005 2 udp 32771 mountd
100005 2 tcp 32770 mountd
100005 3 udp 32771 mountd
100005 3 tcp 32770 mountd
391002 2 tcp 33490 sgi_fam
100009 1 udp 619 yppasswdd
100007 2 udp 823 ypbind
100007 1 udp 823 ypbind
100007 2 tcp 826 ypbind
100007 1 tcp 826 ypbind
100004 2 udp 851 ypserv
100004 1 udp 851 ypserv
100004 2 tcp 854 ypserv
100004 1 tcp 854 ypserv

server : netstat
---------------------

netstat -a | grep nfs
udp 0 0 *:nfs *:*

server: r2d8
-----------------

/etc/init.d/nfs status
rpc.mountd (pid 1876) is running...
nfsd (pid 1868 1867 1866 1865 1864 1863 1862 1861) is
running...
rpc.rquotad (pid 1857) is running...

server: r2d8
------------------

cat /var/lib/nfs/xtab | grep r2d10
/export/home
r2d10(rw,sync,wdelay,hide,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2)

server: r2d8
----------------

ping r2d10
PING r2d10 (10.0.0.10) 56(84) bytes of data.
64 bytes from r2d10 (10.0.0.10): icmp_seq=1 ttl=64
time=0.151 ms
64 bytes from r2d10 (10.0.0.10): icmp_seq=2 ttl=64
time=0.068 ms



__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail

--
gentoo-user@gentoo.org mailing list