跳转到主内容

为什么修改卷选项"-snapdir-access"需要重新挂载?

Views:
8
Visibility:
Public
Votes:
0
Category:
fas-systems
Specialty:
nas
Last Updated:

适用场景

  • ONTAP 9
  • NFSv3

问题解答

  • 行为取决于客户端是否发送 V3查找呼叫
  • 如果客户端发送 V3查找调用,则存储系统将根据当前 -snapdir-access 设置做出相应响应。
  • 如果客户端引用本地目录缓存而不发送 V3查找调用,则 存储端的新-snapdir-access设置将不会生效。
示例:
 
已禁用-snapdir-access:
 
80  2024-04-06 14:25:00.017290 0.000079 Client_IP 698 Storage_IP 2049 NFS 226 V3 LOOKUP Call (Reply In 81), DH: 0x69edfd3b/.snapshot
81  2024-04-06 14:25:00.017384 0.000094 Storage_IP 2049 Client_IP 698 NFS 186 V3 LOOKUP Reply (Call In 80) Error: NFS3ERR_NOENT
 
[root@centos1 mnt]# cd .snapshot
-bash: cd: .snapshot: No such file or directory
 
 
-snapdir-access enabled:
 
82 2024-04-06 14:52:03.471510 0.000067 Client_IP 978 Storage_IP 2049 NFS 226 V3 LOOKUP Call (Reply In 83), DH: 0x69edfd3b/.snapshot
83 2024-04-06 14:52:03.471599 0.000089 Storage_IP 2049 Client_IP 978 NFS 322 V3 LOOKUP Reply (Call In 82), FH: 0x0408dcdd
 
[root@centos1 mnt]# cd .snapshot
[root@centos1 .snapshot]#

追加信息

其他信息文本

 

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.