ONTAP 9.13

to English version

既存のSMB共有でのBranchCacheの有効化

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

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

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

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

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

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

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

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

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

    2. オフライン ファイルの共有設定が手動に設定されていない場合は、必要な値に変更します。 + 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

次のコマンドは、SVM vs1のパス /data2 にある「data2」という名前の既存のSMB共有で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
                               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
Top of Page