启用或禁用 BranchCache
可通过更改 BranchCache 运行模式为 disabled 来禁用存储虚拟机(SVM)上的 存储虚拟机(SVM)。可随时通过更改运行模式至为每个共享提供 BranchCache 服务或自动为所有共享提供来启用 BranchCache。
- 运行适用命令:
如果要... 输入以下命令... 禁用 BranchCache vserver cifs branchcache modify -vserver vserver_name -operating-mode disable 启用每个共享的 BranchCache vserver cifs branchcache modify -vserver vserver_name -operating-mode per-share 启用所有共享的 BranchCache vserver cifs branchcache modify -vserver vserver_name -operating-mode all-shares - 验证 BranchCache 运行模式是否使用所需设置配置:vserver cifs branchcache show -vserver vserver_name
示例
以下示例禁用了 SVM vs1 上的 BranchCache:
cluster1::> vserver cifs branchcache modify -vserver vs1 -operating-mode disable
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: disable
提供反馈