跳转到主内容

CIFS共享属性"showsnapshot"和卷选项"-snapdir-access"之间有何区别?

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

适用场景

  • ONTAP 9
  • CIFS

问题解答

这两个ONTAP 选项会对Snapshot目录访问产生不同的影响:

  • CIFS共享属性 showsnapshot

SMB查找请求受此共享属性影响。如果CIFS客户端只是尝试将目录更改为snapshot目录、则只要卷选项 -snapdir-access 设置为"true"、即使未设置共享属性、ONTAP 也会允许访问。

  • 卷选项 -snapdir-access

如果设置为"true"(默认值)、则CIFS客户端可以访问Snapshot目录。如果设置为"false"、则会禁用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.