SMB 2.xを使用するWindowsクライアントは、「showsnapshot」共有プロパティが無効になっていても~snapshotディレクトリにアクセスできます
環境
- ONTAP 9
- CIFS
問題
~snapshot
"showsnapshot"
共有プロパティが設定されていなくてもWindowsクライアントディレクトリからアクセスできる
"showsnapshot"
共有「vol1」に対して共有プロパティが設定されていません
::> cifs share show -vserver vs912 -share-name vol1
Vserver: vs912
Share: vol1
CIFS Server NetBIOS Name: VS912
Path: /vol1
Share Properties: oplocks
browsable
changenotify
access-based-enumeration
show-previous-versions
Symlink Properties: symlinks
File Mode Creation Mask: -
Directory Mode Creation Mask: -
Share Comment: -
Share ACL: Everyone / Full Control
File Attribute Cache Lifetime: -
Volume Name: vol1
Offline Files: manual
Vscan File-Operations Profile: standard
Maximum Tree Connections on Share: 4294967295
UNIX Group for File Create: -
- このボリュームで「snapdir-access」がtrueに設定されている
::> vol show -vserver vs912 -volume vol1 -fields snapdir-access
vserver volume snapdir-access
------- ------ --------------
vs912 vol1 true
- Windowsクライアントの場合:
レジストリの次のパスの下にDWORD32があります。DWORD32は"DirectoryCacheLifetime"
ゼロに設定されています。
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters