On 08/22/2012 05:07 PM, Barbara Krasovec wrote:
Nfs4 client randomly hangs on a file or directory (for instance when
performing df or find) and after a few seconds continues. When
preforming strace, it hangs on getdents system call.
Errors on the server side:
Aug 19 21:29:08 host kernel: nfs: server host2 not responding, still trying
Aug 19 21:31:17 host kernel: nfs: server host2 OK
After a while the load on client and server side increases intensively,
then system on the client side crashes. Reboot required.
Mount options:
Flags:
rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,noresvport,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=IP,local_lock=none,addr=IP
I haven't had this problem with several systems mounting /home, but
sometime before 2.6.32-220 we switched to using automount instead of fstab.
Have you tried playing with the options to see if one of them is
poisonous (hard, retrans, local_lock, etc.)? Do you have the same
problem using automount?