既存の SMB 共有で BranchCache を有効にします
-
このドキュメント ページのPDF
-
ボリューム管理
- CLI を使用した論理ストレージ管理
-
NAS ストレージ管理
-
CLIを使用したSMBの管理
- SMB を使用したファイルアクセスの管理
-
CLIを使用したSMBの管理
- セキュリティとデータ暗号化
-
ボリューム管理
PDF版ドキュメントのセット
Creating your file...
既存のSMB共有でBranchCacheを有効にするには、を追加します branchcache
共有プロパティを既存の共有プロパティリストに追加します。
-
SMB 共有で BranchCache を有効にする場合は、共有のオフラインファイル設定を手動キャッシュに設定する必要があります。
既存の共有のオフラインファイル設定が手動キャッシュに設定されていない場合は、共有を変更して設定する必要があります。
-
を設定できます
branchcache
Storage Virtual Machine(SVM)でBranchCacheが設定されておらず有効になっていない場合も含む共有のプロパティ。ただし、共有でキャッシュされたコンテンツを提供するには、 SVM で BranchCache を設定して有効にする必要があります。
-
を追加したとき
branchcache
共有プロパティ共有に対する既存の共有設定と共有プロパティは維持されます。BranchCache 共有プロパティは既存の共有プロパティリストに追加されます。を使用する方法の詳細については、を参照してください
vserver cifs share properties add
コマンドについては、マニュアルページを参照してください。
-
必要に応じて、オフラインファイルの共有設定を手動キャッシュに設定します。
-
を使用して、オフラインファイルの共有設定を確認します
vserver cifs share show
コマンドを実行します -
オフラインファイルの共有設定がmanualに設定されていない場合は、必要な値に変更します。
vserver cifs share modify -vserver vserver_name -share-name share_name -offline-files manual
-
-
既存のSMB共有でBranchCacheを有効にします。
vserver cifs share properties add -vserver vserver_name -share-name share_name -share-properties branchcache
-
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