Isilon:如何使用 TreeDelete 工作刪除目錄
Summary: 本文說明如何使用 TreeDelete 工作刪除叢集上的目錄。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
簡介
TreeDelete 是一個作業選項,允許管理員從群集中刪除單個或多個目錄。
TreeDelete 的好處是:
- 多線程 - 並行執行刪除以提高性能。
- 本地 - 刪除過程是群集的本地。刪除直接從群集進行,而不是通過網路啟動刪除的用戶端。
- 記錄 - 目錄刪除會記錄到
/var/log/isi_job_d.log.
程序
- 在叢集的任何節點上開啟 SSH 連線,然後使用 root 帳戶登入。
- 執行 下列命令:
# isi job start treedelete --path=<ifs-directory> --priority=<priority> --policy=<policy> * Where <ifs-directory> is the path to the directory that is to be deleted, <priority> is the priority from 1-10 1 is the highest) and <policy> is the impact level (low, medium, high, off_hours)
範例:
# isi job start treedelete --path=/ifs/data/dir_1 # isi job start treedelete --path=/ifs/data/dir_2 --priority=8 --policy=low
注意:影響級別指定要用於作業的群集資源量。如果未指定優先順序或策略,則使用預設優先順序“4”和預設策略“高”。如需影響級別的詳細資訊,請參閱 OneFS 使用者指南中的「影響原則管理」一節。
Affected Products
IsilonArticle Properties
Article Number: 000018980
Article Type: How To
Last Modified: 25 Jun 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.