Stop automatic caching on all SMB shares
-
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
- SAN storage management
- Security and data encryption
-
Data protection and disaster recovery
- Data protection with the CLI
Collection of separate PDF docs
Creating your file...
If your BranchCache configuration automatically enables caching on all SMB shares on each storage virtual machine (SVM), you can modify the BranchCache configuration to stop automatically caching content for all SMB shares.
To stop automatic caching on all SMB shares, you change the BranchCache operating mode to per-share caching.
-
Configure BranchCache to stop automatic caching on all SMB shares:
vserver cifs branchcache modify -vserver vserver_name -operating-mode per-share
-
Verify that the BranchCache configuration is correct:
vserver cifs branchcache show -vserver vserver_name
The following command changes the BranchCache configuration on storage virtual machine (SVM, formerly known as Vserver) vs1 to stop automatic caching on all SMB shares:
cluster1::> vserver cifs branchcache modify -vserver vs1 -operating-mode per-share cluster1::> vserver cifs branchcache show -vserver vs1 Vserver: vs1 Supported BranchCache Versions: enable_all Path to Hash Store: /hash_data Maximum Size of the Hash Store: 20GB Encryption Key Used to Secure the Hashes: - CIFS BranchCache Operating Modes: per_share