Command Reference 10

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands.
The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."

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).

delete disk_domain

delete disk_domain

Function

The delete disk_domain command is used to delete a disk domain.

Format

delete disk_domaindisk_domain_id=? [ disk_erase=? ]

Parameters

Parameter

Description

Value

disk_domain_id=?

ID of a disk domain that you want to delete.

To obtain the value, run "show disk_domain general".

disk_erase=?

The optional parameter indicates whether to replace the data encryption key (DEK) of user data partition band0 on a self-encrypting disk. If the DEK is replaced, data in band0 cannot be decrypted, destroying the data.

The value can be "yes","no",where:

"yes": to erase the encrypted disk data.

"no": to disable encrypted disk data distruption.

The default value is "no".

Level

Administrator

Usage Guidelines

N.A.

Example

Delete disk domain "2".

admin:/>delete disk_domain disk_domain_id=2
CAUTION: You are about to delete disk domain.
Suggestion: Before performing this operation, ensure that the selected disk domain is correct.
Do you wish to continue?(y/n)y
Command executed successfully.

Delete disk domain "2", erase encrypted disk data.

admin:/>delete disk_domain disk_domain_id=2 disk_erase=yes
DANGER: You are about to delete disk domain and erase the encrypted disk data. This operation will erase the data of the encrypted disks in the disk_domain. The erased data cannot be recovered.
Suggestion: Before performing this operation, ensure that the selected disk domain is correct.
Have you read the danger alert message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
Command executed successfully.