No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


OceanStor 9000 V5 7.0 Command Reference 03

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
destroy directory

destroy directory


The destroy directory command is used to destroy a directory.


destroy directory < dir_name > < parent_dir >





dir_name Directory name.

The value contains 1 to 255 characters and cannot contain /, ., or .. .

parent_dir Parent path.

The value contains 1 to 4000 characters.

The path format is /parent path name.


Resource administrator

Usage Guidelines

The filedirdestroy function is disabled by default. If you want to use it, enable it during off-peak hours.

After logging in to the operating system, run the MmlBatch 4016 "cm filedirdestroy show" command to query the status of the filedirdestroy function.

Run the MmlBatch 4016 "cm filedirdestroy set on" command to enable the filedirdestroy function.

Run the MmlBatch 4016 "cm filedirdestroy set off" command to disable the filedirdestroy function.


Destroy a directory.

admin:/>destroy directory test /
WARNING: You are about to destroy the directory. This operation: 
(1) Deletes the shared directory. Share configurations need to be manually cleared. 
(2) Deletes the periodic snapshot policy directory. The policy needs to be manually cleared. 
(3) Deletes the quota configurations of the directory. 
(4) Executes the privileged deletion of the WORM directory as an administrator. 
Have you read warning message carefully?(y/n)y
Are you sure you want to perform the operation?(y/n)y
Command executed successfully.

System Response


Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24876

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next