メインコンテンツまでスキップ

クライアント側の非同期削除に時間がかかる

Views:
21
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

環境

  • ONTAP 9
  • ボリュームファイルの非同期削除

問題

  • ONTAPからボリュームファイルのasync-deleteを実行して、ディレクトリをすばやく削除します。
  • ファイルをONTAPゴミ箱に移動してasync-deleteを介してクライアント経由で実行すると、ONTAP非同期の削除に比べて非常に時間がかかります。
[root@rhel1 ontap]# mv dir_to_delete_from_client/ ._ontaptrashbin
[root@rhel1 ontap]# ls -a
.  ..  .100_deleting_20240422_071730  dir_to_delete  my_directory  my_directory2
注:以下のコマンドを使用してクライアント側のasync-deletesを監視することはできません。ゴミ箱を排出するONTAPの進行状況を監視するには、ゴミ箱ディレクトリの使用状況をクライアント側で監視し、時間の経過とともにゆっくりと排出されることを確認します(解決策を参照)。


上記のクライアント側のasync-deleteメソッドを使用する代わりに、サーバ側のasync-deleteがトリガーされ、監視される方法を次に示します。
cluster1::*> vol file async-delete start -vserver svm1_cluster1 -volume test -path dir_to_delete/
[Job 488] Job is queued: Asynchronous directory delete job.
 
cluster1::*> vol file async-delete show
Vserver    Volume     Job ID  Path      Progress
                          (#Files  #Dirs   #Bytes
------------ ------------ -------- --------------- -------------------------
svm1_cluster1 test     0:6    /.100_deleting_20240422_071730 49 0    0
              0:7    dir_to_delete/    331     0     0
 
cluster1::*> vol file async-delete show
Vserver    Volume     Job ID  Path      Progress
                          (#Files  #Dirs   #Bytes
------------ ------------ -------- --------------- -------------------------
svm1_cluster1 test     0:6    /.100_deleting_20240422_071730 144 0    0

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.