Isilon: How to Use the TreeDelete job to Delete a Directory

摘要: This article documents how to use the TreeDelete job to delete directories on a cluster.

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

说明

Introduction

TreeDelete is a job option that allows an administrator to delete single or multiple directories from a cluster.

The benefits of TreeDelete are:

  • Multi-threaded  - Deletions are done in parallel for better performance.
  • Local - The deletion process is local to the cluster. Deletions happen directly from the cluster instead of a client initiating the deletion across the network.
  • Logging - Directory deletions are logged to the /var/log/isi_job_d.log.

Procedure

  1. Open an SSH connection on any node in the cluster and log in using the "root" account.
  2. Run the following command:
# 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)

Examples:
# isi job start treedelete --path=/ifs/data/dir_1
# isi job start treedelete --path=/ifs/data/dir_2 --priority=8 --policy=low
 
Note: Impact levels specify the amount of cluster resources to use for the job. If you do not specify a priority or policy, the default priority of "4" and default policy "high" is used. For more information about impact levels, see the "Impact policy management" section in the OneFS User Guides.

受影响的产品

Isilon
文章属性
文章编号: 000018980
文章类型: How To
上次修改时间: 25 6月 2025
版本:  4
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。