Skip to main content
日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。

すべての SMB 共有での自動キャッシュを停止します

共同作成者

Storage Virtual Machine ( SVM )のすべての SMB 共有に対して BranchCache キャッシュを自動的に有効にするように設定している場合、 BranchCache の設定を変更することで、すべての SMB 共有に対するコンテンツの自動キャッシュを停止することができます。

このタスクについて

すべての SMB 共有に対する自動キャッシュを停止するには、 BranchCache の動作モードを共有ごとのキャッシュに変更します。

手順
  1. すべてのSMB共有で自動キャッシュを停止するようにBranchCacheを設定します。 vserver cifs branchcache modify -vserver vserver_name -operating-mode per-share

  2. BranchCacheの設定が正しいことを確認します。 vserver cifs branchcache show -vserver vserver_name

次のコマンドは、 Storage Virtual Machine ( 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