メインコンテンツへスキップ

Linuxクライアントで削除された NetApp Snapshot(.snapshot)のdfまたはmountに「Stale File Handle」が表示される – NFSの自動マウント動作

Views:
1,265
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
nas
Last Updated:

環境

  • ONTAP 9
  • NFS
  • Linux カーネル 2.6.18 以降のバージョン

問題

  • 最新のLinuxクライアントは.snapshotディレクトリを別のファイルシステムとして認識し、したがって別のマウントポイントとして認識します。
  • スナップショットが削除されると、クライアントは.snapshotベースのサブマウントに対してstale file handle を報告します。
  • 日次スナップショットボリュームで古いファイルハンドルエラーが発生しています。
    • df -h
      df: ‘/home/oracle/.snapshot/daily.2025-09-22_0010’: Stale file handle
      df: ‘/home/oracle/.snapshot/daily.2025-09-17_0010’: Stale file handle
      df: ‘/home/oracle/.snapshot/daily.2025-09-28_0010’: Stale file handle
      df: ‘/home/oracle/.snapshot/monthly.2025-08-25_0000’: Stale file handle
  • linux nfs クライアントを再起動すると、すでに削除されている前日のスナップショットが解決されます。
  • mount コマンドを Linux ホスト上で実行すると、マウントされている多数のスナップショットが表示され、アンマウントできません。
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.