Disable BranchCache on a single SMB share
Suggest changes
-
PDF of this doc site
- Cluster administration
-
Volume administration
- Logical storage management with the CLI
-
NAS storage management
- Configure NFS with the CLI
- Manage NFS with the CLI
-
Manage SMB with the CLI
- Manage file access using SMB
- Security and data encryption
- Data protection and disaster recovery
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
If you do not want to offer caching services on certain shares that previously offered cached content, you can disable BranchCache on an existing SMB share.
Step
-
Enter the following command:
vserver cifs share properties remove -vserver vserver_name -share-name share_name -share-properties branchcache
The BranchCache share property is removed. Other applied share properties remain in effect.
Example
The following command disables BranchCache on an existing SMB share named “data2”:
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 Vscan File-Operations Profile: standard 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 Vscan File-Operations Profile: standard