This article provides steps to workaround the issue if unable to unmount NFS datastore in ESXi 6.x.
When using NFS datastores on some NetApp NFS filer models on an ESXi host, the following symptoms may appear.
NFSLock: 515: Stop accessing fd 0xc21eba0 4
NFS: 283: Lost connection to the server 192.168.100.1 mount point /vol/datastore01, mounted as bf7ce3db-42c081a2-0000-000000000000 ("datastore01")
NFSLock: 477: Start accessing fd 0xc21eba0 again
NFS: 292: Restored connection to the server 192.168.100.1 mount point /vol/datastore01, mounted as bf7ce3db-42c081a2-0000-000000000000 ("datastore01")
<YYYY-MM-DD>T<time> Z cpu2:8194)StorageApdHandler: 277: APD Timer killed for ident [b63367a0-e78ee62a]
</time><YYYY-MM-DD>T<time></time> 607Z cpu2:8194)StorageApdHandler: 402: Device or filesystem with identifier [b63367a0-e78ee62a] has exited the All Paths Down state.
<YYYY-MM-DD>T<time></time> Z cpu2:8194)StorageApdHandler: 902: APD Exit for ident [b63367a0-e78ee62a]!
<YYYY-MM-DD>T<time></time> Z cpu16:8208)NFSLock: 570: Start accessing fd 0x4100108487f8 again
<YYYY-MM-DD>T<time></time> Z cpu2:8194)WARNING: NFS: 322: Lost connection to the server 10.20.90.2 mount point /vol/nfsexamplevolume, mounted as bd5763b1-19271ed7-0000-000000000000 ("NFS_EXAMPLE_VOLUME")
<YYYY-MM-DD>T<time></time> Z cpu2:8194)WARNING: NFS: 322: Lost connection to the server 10.20.90.2 mount point /vol/nfsexamplevolume2, mounted as 654dc625-6010e4e6-0000-000000000000 ("NFS_EXAMPLE_VOLUME2")
<YYYY-MM-DD>T<time></time> Z: [vmfsCorrelator] 6084893035396us: [esx.problem.vmfs.nfs.server.disconnect] 192.168.100.1 /vol/datastore01 bf7ce3db-42c081a2-0000-000000000000 volume-name:datastore01
<YYYY-MM-DD>T<time></time> Z: [vmfsCorrelator] 6085187880809us: [esx.problem.vmfs.nfs.server.restored] 192.168.100.1 /vol/datastore01 bf7ce3db-42c081a2-0000-000000000000 volume-name:datastore01
No Time Source Destination Protocol Length Info
784095 325.356980 10.1.1.35 10.1.1.26 RPC 574 [TCP ZeroWindow] Continuation
792130 325.452001 10.1.1.35 10.1.1.26 TCP 1514 [TCP ZeroWindow] [TCP segment of a reassembled PDU]
VMware vSphere ESXi 6.x
NFS.MaxQueueDepth
advanced parameter to a much lower value. This reduces or eliminates the disconnections.MaxQueueDepth
, circumventing the issue.NFS.MaxQueueDepth
advanced parameter using the vSphere Client:
NFS.MaxQueueDepth
.NFS.MaxQueueDepth
advanced parameter via the command line:
esxcfg-advcfg -s 64 /NFS/MaxQueueDepth
esxcfg-advcfg -g /NFS/MaxQueueDepth