Skip to main content
NetApp Knowledge Base

Attempting to mount FlexCache path gives "mount.nfs: Connection timed out"

Views:
707
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

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 the MNT 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

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.