简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。
在 ONTAP SMB 共享上禁用或启用 BranchCache
您可以通过将anchCache操作模式更改为来在Storage Virtual Machine (SVM)上禁用anchCache disabled。您可以随时通过将运行模式更改为按共享提供 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 -
验证是否已使用所需设置配置了anchCache运行模式:
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