Attempting to mount FlexCache path gives "mount.nfs: Connection timed out"
Applies to
- ONTAP 9
- NFSv3 / Mount protocol
- FlexCache volume
Issue
- "mount.nfs: Connection timed out" on Linux, or equivalent mount error (actual error logged will be client platform specific.)
mount -t nfs -s -o ro,intr,retrans=10,timeo=600,nfsvers=3,hard,rsize=32768,wsize=32768,tcp,noacl,port=2049,nocto sgh-cdot01-corp01:/vol/Test_FC/dester/centos7/x8675/dester_2-pic /mnt -vvv
mount.nfs: timeout set for Wed Dec 14 16:34:06 2022
mount.nfs: trying text-based options 'intr,retrans=10,timeo=600,nfsvers=3,hard,rsize=32768,wsize=32768,tcp,noacl,port=2049,nocto,sloppy,addr=10.19.185.41'
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 10.10.131.xx prog 100005 vers 3 prot TCP port 635
mount.nfs: mount(2): Connection timed out
mount.nfs: trying text-based options 'intr,retrans=10,timeo=600,nfsvers=3,hard,rsize=32768,wsize=32768,tcp,noacl,port=2049,nocto,sloppy,addr=10.10.131.xx'
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 10.10.131.xx prog 100005 vers 3 prot TCP port 635
mount.nfs: mount(2): Connection timed out
mount.nfs: Connection timed out
- When attempting to mount particular paths from a FlexCache volume, the mount operation times out.
- A packet trace shows that the
NULL
call for mount is replied to, but theMNT
call is not - the client performs RPC retransmission of its request, but does not get a response (see Wireshark / tshark output example below.)
23 0.001398 10.216.29.66 → 10.216.29.68 MOUNT V3 NULL Call
24 0.001579 10.216.29.68 → 10.216.29.66 MOUNT V3 NULL Reply (Call In 23)
25 0.001848 10.216.29.66 → 10.216.29.68 MOUNT V3 NULL Call
26 0.002001 10.216.29.68 → 10.216.29.66 MOUNT V3 NULL Reply (Call In 25)
27 0.002039 10.216.29.66 → 10.216.29.68 MOUNT V3 MNT Call /cache_vol1/qtree/link-to-dir1
29 5.016283 10.216.29.66 → 10.216.29.68 MOUNT [RPC retransmission of #27]V3 MNT Call /cache_vol1/qtree/link-to-dir1
31 15.032252 10.216.29.66 → 10.216.29.68 MOUNT [RPC retransmission of #27]V3 MNT Call /cache_vol1/qtree/link-to-dir1