在单个 SMB 共享上禁用 BranchCache
如果您不想在以前提供了高速缓存内容的特定共享上提供高速缓存服务,可以在现有 SMB 共享上禁用 BranchCache。
输入以下命令:vserver cifs share properties remove -vserver vserver_name -share-name share_name -share-properties branchcache
BranchCache 共享属性已删除。应用的其他共享属性保持有效。
示例
以下命令禁用名为data2
的现有 SMB 共享上的 BranchCache:
cluster1::> vserver cifs share show -vserver vs1 -share-name data2
Vserver: vs1
Share: data2
CIFS Server NetBIOS Name: VS1
Path: /data2
Share Properties: oplocks
browsable
changenotify
attributecache
branchcache
Symlink Properties: -
File Mode Creation Mask: -
Directory Mode Creation Mask: -
Share Comment: -
Share ACL: Everyone / Full Control
File Attribute Cache Lifetime: 10s
Volume Name: -
Offline Files: manual
<span className="ph">Vscan File-Operations Profile: standard</span>
cluster1::> vserver cifs share properties remove -vserver vs1
-share-name data2 -share-properties branchcache
cluster1::> vserver cifs share show -vserver vs1 -share-name data2
Vserver: vs1
Share: data2
CIFS Server NetBIOS Name: VS1
Path: /data2
Share Properties: oplocks
browsable
changenotify
attributecache
Symlink Properties: -
File Mode Creation Mask: -
Directory Mode Creation Mask: -
Share Comment: -
Share ACL: Everyone / Full Control
File Attribute Cache Lifetime: 10s
Volume Name: -
Offline Files: manual
<span className="ph">Vscan File-Operations Profile: standard</span>
提供反馈