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

既存の SMB 共有で BranchCache を有効にします

共同作成者

既存のSMB共有でBranchCacheを有効にするには、を追加します branchcache 共有プロパティを既存の共有プロパティリストに追加します。

このタスクについて
  • SMB 共有で BranchCache を有効にする場合は、共有のオフラインファイル設定を手動キャッシュに設定する必要があります。

    既存の共有のオフラインファイル設定が手動キャッシュに設定されていない場合は、共有を変更して設定する必要があります。

  • を設定できます branchcache Storage Virtual Machine(SVM)でBranchCacheが設定されておらず有効になっていない場合も含む共有のプロパティ。

    ただし、共有でキャッシュされたコンテンツを提供するには、 SVM で BranchCache を設定して有効にする必要があります。

  • を追加したとき branchcache 共有プロパティ共有に対する既存の共有設定と共有プロパティは維持されます。

    BranchCache 共有プロパティは既存の共有プロパティリストに追加されます。を使用する方法の詳細については、を参照してください vserver cifs share properties add コマンドについては、マニュアルページを参照してください。

手順
  1. 必要に応じて、オフラインファイルの共有設定を手動キャッシュに設定します。

    1. を使用して、オフラインファイルの共有設定を確認します vserver cifs share show コマンドを実行します

    2. オフラインファイルの共有設定がmanualに設定されていない場合は、必要な値に変更します。 vserver cifs share modify -vserver vserver_name -share-name share_name -offline-files manual

  2. 既存のSMB共有でBranchCacheを有効にします。 vserver cifs share properties add -vserver vserver_name -share-name share_name -share-properties branchcache

  3. SMB共有でBranchCache共有プロパティが設定されていることを確認します。 vserver cifs share show -vserver vserver_name -share-name share_name

次のコマンドは、「data2」という名前の既存のSMB共有(パス)でBranchCacheを有効にします /data2 SVM vs1:

cluster1::> vserver cifs share show -vserver vs1 -share-name data2

                      Vserver: vs1
                        Share: data2
     CIFS Server NetBIOS Name: VS1
                         Path: /data2
             Share Properties: oplocks
                               browsable
                               changenotify
                               showsnapshot
           Symlink Properties: -
      File Mode Creation Mask: -
 Directory Mode Creation Mask: -
                Share Comment: -
                    Share ACL: Everyone / Full Control
File Attribute Cache Lifetime: 10s
                  Volume Name: -
                Offline Files: manual
Vscan File-Operations Profile: standard

cluster1::> vserver cifs share properties add  -vserver vs1 -share-name data2 -share-properties branchcache

cluster1::> vserver cifs share show -vserver vs1 -share-name data2

                      Vserver: vs1
                        Share: data2
     CIFS Server NetBIOS Name: VS1
                         Path: /data2
             Share Properties: oplocks
                               browsable
                               showsnapshot
                               changenotify
                               branchcache
           Symlink Properties: -
      File Mode Creation Mask: -
 Directory Mode Creation Mask: -
                Share Comment: -
                    Share ACL: Everyone / Full Control
File Attribute Cache Lifetime: 10s
                  Volume Name: -
                Offline Files: manual
Vscan File-Operations Profile: standard