FlexGroupsを使用してONTAPディレクトリを非同期的に削除するためのクライアント権限を管理する
ONTAP 9.11.1 以降、ストレージ管理者はボリュームに対する権限を付与して、NFS および SMB クライアントが非同期削除操作を実行できるようにすることができます。クラスタで非同期削除が有効になっている場合、Linuxクライアントユーザーは `mv`コマンドとWindowsクライアントユーザーは、 `rename`指定されたボリューム上のディレクトリを、デフォルトで .ontaptrashbin という名前の隠しディレクトリに移動して削除するコマンド。
権利は巻ごとに付与されます。 NFS クライアント ユーザーには、NFS クライアントに対するルート アクセス権と、NFS エクスポートに対するスーパーユーザー アクセス権が必要です。
ディレクトリのみを移動できます。ファイルを .ontaptrashbin ディレクトリに移動することはできません。
クライアントの非同期ディレクトリ削除を有効にする
- 
クラスタCLIからadvanced権限モードに切り替えます。 -privilege advance
- 
ボリュームのマウントポイントでクライアントの非同期削除を有効にし、必要に応じて、ゴミ箱ディレクトリの別名を指定します。 volume file async-delete client enable volume volname vserver vserverName trashbinname nameデフォルトのごみ箱名を使用する例: cluster1::*> volume file async-delete client enable -volume v1 -vserver vs0 Info: Async directory delete from the client has been enabled on volume "v1" in Vserver "vs0".代替ゴミ箱名を指定する例: cluster1::*> volume file async-delete client enable -volume test -trashbin .ntaptrash -vserver vs1 Success: Async directory delete from the client is enabled on volume "v1" in Vserver "vs0".
- 
クライアントの非同期削除が有効であることを確認します。 volume file async-delete client show例: cluster1::*> volume file async-delete client show Vserver Volume async-delete client TrashBinName ------------ ------------ ----------------------- ------------- vs1 vol1 Enabled .ntaptrash vs2 vol2 Disabled - 2 entries were displayed. 
クライアントの非同期ディレクトリ削除を無効にする
- 
クラスタCLIから、クライアントの非同期ディレクトリ削除を無効にします。 volume file async-delete client disable volume volname vserver vserverName例: cluster1::*> volume file async-delete client disable -volume vol1 -vserver vs1 Success: Asynchronous directory delete client disabled successfully on volume.
- 
クライアントの非同期削除が無効であることを確認します。 volume file async-delete client show例: cluster1::*> volume file async-delete client show Vserver Volume async-delete client TrashBinName ------------ ------------ ----------------------- ------------- vs1 vol1 Disabled - vs2 vol2 Disabled - 2 entries were displayed. 
 PDF
PDF