6.12.1 Recovering Data for an SSD
Function
This command is used to recover data for an SSD.
Format
hioadm recovery -d devicename
[
-t type
]
Parameters
Parameter
Description
Value
devicename
Name of a device.
Example:
nvme0
type
Data recovery mode.
l
0
: common recovery
l
1
: forcible recovery
NOTE
If this parameter is not set, the
common recovery mode is
used by default.
Usage Guidelines
l
This command may take up to 20 minutes.
l
Before recovering data, run the
hioadm info -d devicename -s
command. Recover data
only when
data status
in the command output is
need recovery
.
NOTE
l
The status indicates that the device has critical non-hardware issues. Data recovery may not be able
to recover all data.
l
Common recovery will recover original user data as much as possible. To ensure data reliability,
SSD disks or cards will work in read-only mode after common recovery. Forcible recovery will
erase all user data. If forcible recovery is successful, SSD disks will enter the healthy state.
Example
# Recover data for the
nvme0
SSD.
[root@localhost host]#
hioadm recovery -d nvme0
you have selected normal recovery.
WARNING! The recovery operation will take tens of minutes.Please wait.
WARNING! You have selected the recovery operation.
Proceed with the recovery? (Y|N):
y
Recovering succeeded.
.
6.12.2 Querying the SSD Data Common Recovery Progress
Function
This command is used to query the SSD data common recovery progress.
ES3000 V5 NVMe PCIe SSD
User Guide
6 Command Description
Issue 07 (2019-03-19)
Copyright © Huawei Technologies Co., Ltd.
136