本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
停止所有 ONTAP SMB 共享上的自動緩存
如果您的BranchCache組態自動啟用每個儲存虛擬機器(SVM)上所有SMB共用區的快取、您可以修改BranchCache組態、停止自動快取所有SMB共用區的內容。
關於這項工作
若要停止在所有SMB共用區上自動快取、請將「BranchCache」作業模式變更為「每個共用快取」。
步驟
-
設定 BranchCache 以停止所有 SMB 共用上的自動快取:
vserver cifs branchcache modify -vserver vserver_name -operating-mode per-share -
驗證 BranchCache 組態是否正確:
vserver cifs branchcache show -vserver vserver_name
範例
下列命令會變更儲存虛擬機器(SVM、先前稱為Vserver)VS1上的BranchCache組態、以停止所有SMB共用區上的自動快取:
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