Re: NFS Mount Hangs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2021-03-08 at 13:16 -0500, Jason Breitman wrote:
> Issue
> NFSv4 mounts periodically hang on the NFS Client.
> 
> During this time, it is possible to manually mount from another NFS
> Server on the NFS Client having issues.
> Also, other NFS Clients are successfully mounting from the NFS Server
> in question.
> Rebooting the NFS Client appears to be the only solution.
> 
> I believe this issue has been discussed in the past so I included an
> article that matched my symptoms.
> I do not see a case statement for FIN_WAIT2 at
> https://elixir.bootlin.com/linux/v4.19.171/source/net/sunrpc/xprtsock.c
> .
> 
> NFS Client
> OS:             Debian Buster 10.8
> Kernel: 4.19.171-2
> Protocol:       NFSv4 with Kerberos Security
> Mount Options:  nfs-
> server.domain.com:/data     /mnt/data       nfs4    lookupcache=pos,n
> oresvport,sec=krb5,hard,rsize=1048576,wsize=1048576    00
> 
> Output from the NFS Client when the issue occurs
> # netstat -an | grep NFS.Server.IP.X
> tcp        0      0 NFS.Client.IP.X:46896     
> NFS.Server.IP.X:2049       FIN_WAIT2
> 

Your client has closed the connection, and is waiting for the server to
close the connection on its side.

I'd suggest using a newer kernel, or else getting someone in the Debian
project to fix theirs.

-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@xxxxxxxxxxxxxxx






[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux