AW: NFS Mount Hangs

Scheffenegger, Richard Richard.Scheffenegger at netapp.com
Thu Mar 18 12:42:26 UTC 2021


>>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
>I'm no TCP guy. Hopefully others might know why the client would be stuck in FIN_WAIT2 (I vaguely recall this means it is waiting for a fin/ack, but could be wrong?)

When the client is in Fin-Wait2 this is the state you end up when the Client side actively close() the tcp session, and then the server also ACKed the FIN. 
This will last for ~2 min or so, but is asynchronous. However, the same 4-tuple can not be reused during this time.

With other words, from the socket / TCP, a properly executed active close() will end up in this state. (If the other side initiated the close, a passive close, will not end in this state)




More information about the freebsd-net mailing list