Hello,
I've been using NFS for quite some time now and starting a couple of
months ago (can't recall exactly when), I've been having issues with one
of my servers.
The box in question is an Alpha (ev56 on a LX164 mb) - bar - running
knfsd on vanilla 2.6.16 (gentoo 1.6.14 - 2006.0) with /etc/exports
looking as follow:
/somemountpoint someclients(rw,no_root_squash,async)
The problem can manifest itself in 2 (related) ways:
- I can mount somemountpoint fine on different linux boxes (ia32 or
sparc64 based), manually or using autofs4, but after some time
(something like 15-20 minutes, it doesn't matter wether the mount
point is idle or not) the mountpoint will hang (ie trying to access
it, by using df or whatever you can think of) and in the logs, I'll
get the following:
Apr 27 18:32:15 foo kernel: nfs: server bar not responding, still trying
- or the initial mount command will hang with an identical message as
above
In both cases, I can 'unhang' the whole mess by trying to mount
bar:/somemountpoint on server foo. By "trying" I meant I don't even
have to mount it, just issuing a mount command looking like this:
mount bar:/somemountpoint /somedirthatdoesntevenexist
will unfreeze the process.
When I use autofs, I get more or less the same behaviour: automount just
hangs while trying to lstat64 the local mount point. Running the above
mount command will correct the problem.
The interesting part is that with the same kernel version, it only
happens with the alpha being the server.
I've tried to pinpoint the problem but so far I've got admit I've been
quite unsucessfull (note that when it happens, all the services:
portmap, rpc, mountd, and so on are running). So my first question
would be: where do I begin? (tcpdump or raising nfsd/rpc debug level)?
FWIW I remember running tcpdump and I was seeing traffic originating
from the client going to the server and I wasn't getting any reply.
Sadly I haven't kept the traces, so I can't remember whether the traffic
was rpc based or not, bottom line take this with a grain of salt until I
produce a full tcpdump output.
Cheers,
--
Mathieu Chouquet-Stringer [email protected]
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Ouch, sorry for all these posts, I had to work around my stupid ISP (which
is more or less blocked everywhere) and as a result I thought my emails
wouldn't make it...
[email protected] (Mathieu Chouquet-Stringer) writes:
> Hello,
> [...]
--
Mathieu Chouquet-Stringer
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs