Skip to main content
NetApp Knowledge Base

A Linux client creates additional mount points when accessing the .snapshot directory via NFS

Views:
13,476
Visibility:
Public
Votes:
14
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • NFS
  • Linux kernel 2.6.18 and later versions

Issue

  • Modern Linux clients identifies the .snapshot directory as a different filesystem, and thus as a different mount point
  • When the snapshot is deleted, clients report stale file handle for .snapshot based sub-mounts
  • Observing stale file handle error on the daily snapshot volume.
  • Restart of the server resolve the issue but again the next day receiving the same stale file handle issue with the previous day's snapshot which is already deleted:

clipboard_e02ebca13d160398903b76b56f56a2785.png

  • mount command on the Linux host displays a large number of snapshots mounted and is not able to unmount
1.1.1.1:/some_export/cluster/.snapshot/hourly.2015-08-03_0705 on /some-mount/.snapshot/hourly.2015-08-03_0705 type nfs (rw,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,mountproto=,local_lock=none,addr=10.1.100.101)

 

 

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.