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

Reminder

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

upgrade

Command Reference for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, 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.
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

Function

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

Format

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

Parameters

Parameter

Description

Value

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.

Level

Administrator

Usage Guidelines

None

Example

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

None

Translation
Download
Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 116561

Downloads: 134

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