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

Advanced O&M Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand 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).
erase_disk_data.sh

erase_disk_data.sh

Function

The erase_disk_data.sh command is used to show the progress of disk data erasure and re-execute an unfinished data erasure task in minisystem mode.

Format

erase_disk_data.sh -m showprogress -i sdId

erase_disk_data.sh -m erasediskdata -i sdId

Parameters

Parameter

Description

Value

sdId Physical ID of a disk, which can be obtained by running the showdiskinfo command in minisystem mode.

-

Modes

Minisystem mode

Usage Guidelines

OceanStor 18500 V5, 18500F V5, 18800 V5 and 18800F V5 storage systems support this command.

Example

  • Show the progress of disk data erasure.

    Storage: minisystem> erase_disk_data.sh -m showprogress -i 71
    admin:/diagnose>attach 12
    Attach AppId<12> success
    admin:/diagnose>sddebug geteraseprogress 71
    get progress(100%), sdid 71.
    admin:/diagnose>exit
    Storage: minisystem>
  • Re-execute an unfinished data erasure task.

    Storage: minisystem> erase_disk_data.sh -m erasediskdata -i 71
    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.
    Are you sure you really want to perform the operation?(y/n)y
    admin:/diagnose>attach 12
    Attach AppId<12> success
    admin:/diagnose>sddebug erasediskdata 71
    Start data erasing succeed, sdid(71).
    admin:/diagnose>exit
    Storage: minisystem>

System Response

None

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 760086

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next