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.


Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

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).
change disk erase

change disk erase


The change disk erase command is used to erase data on disks. Data can be erased from only non-member disks.


change disk erase disk_id_list=? [ action=? | standards=? | pattern_list=? | count=? | verify=? | capacity_ratio=? ] *





disk_id_list=? ID list of the disks that will start erasing data.

The value can be a disk ID range or a disk ID list, where:

  • "Disk ID range": The format is start disk ID-end disk ID, for example, "DAE000.1-5".
  • "Disk ID list": Multiple disk IDs are separated with commas (,), for example, "DAE000.1,DAE000.2,DAE000.3".
To obtain the value, run "show disk general".
action=? Mode of erasing data on disks.

The value can be "overwrite", "block_erase", or "cryptographic_erase". The default value is "block_erase" for non-encrypting disks and "cryptographic_erase" for self-encrypting disks.

standards=? Overwrite standard for data erasure.

The value can be "dod(e)", "dod(ece)", "vsitr", or "custom". The default value is "dod(e)".

pattern_list=? Customized data list entered by users when overwrite is applied in data erasure and the standard is "custom".

The value can be "r" or a hexadecimal number starting with "0x", both occupying 1 byte. A maximum of 3 bytes can be entered and are separated by commas (,).

count=? Times that the "pattern_list" value entered by users is written to disks when overwrite is applied in data erasure and the standard is "custom".

The value is an integer ranging from 1 to 15. The default value is 1.

verify=? Whether to verify erased data.

The value can be:

  • "yes": verifies erased data.
  • "no": does not verify erased data.
The default value is "no".
capacity_ratio=? Percentage of erased data to be verified to the total capacity of a disk.

The value is from 1 to 100.



Usage Guidelines



Erase user data on disks whose disk_id_list is DAE000.1, DAE000.2, and DAE000.3 in block erase mode.

admin:/>change disk erase disk_id_list=DAE000.1,DAE000.2,DAE000.3
DANGER: You are about to erase data on disks in a specified list. This operation will erase data on disks in the list. The erased data cannot be restored and the disks may fail to be reconnected with the system. To obtain the final data erasure result, export data erasure records or view data erasure operation logs.
Suggestion: Before running the command, confirm that you need to erase the data on disks in the list and check whether the disks are still in use.
Have you read the danger alert message carefully?(y/n)y
Enter "I have read and understand the consequences associated with performing this operation." to confirm running this command:
I have read and understand the consequences associated with performing this operation.
Command executed successfully.

System Response


Updated: 2020-01-17

Document ID: EDOC1000181601

Views: 378172

Downloads: 49

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next