Procedure
Step 1
Log in to the OS as an administrator or a member in the administrator group.
Step 2
Run the following command to securely erase data from the SSD (such as nvme0):
hioadm secure -d nvme0
The warning of the risks of data erasure is displayed.
[root@localhost tool]# hioadm secure -d nvme0
WARNING! The secure operation will clear all data.
WARNING! You have selected the format operation.
Proceed with the secure? (Y|N):
Step 3
After confirming the risks, enter
y
to start the secure erasure.
The operation result is displayed.
[root@localhost tool]# hioadm secure -d nvme0
WARNING! The secure operation will clear all data.
WARNING! You have selected the format operation.
Proceed with the secure? (Y|N):
y
Format Progress...100%
The secure operate succeeded.
Please remove and then install the NVMe driver or reboot the OS.
----End
5.9 Querying SSD Lifespans
Scenario
Query the lifespan of an SSD.
Procedure
Step 1
Log in to the OS as an administrator or a member in the administrator group.
Step 2
Run the following command to query the SMART information of the SSD controller (such as
nvme0):
hioadm info -d nvme0 -s
The command output is similar to the following:
[root@localhost tool]# hioadm info -d nvme0 -s
critical warning : no warning
composite temperature : 308 degrees Kelvin (35 degrees Celsius)
available spare : 100%
available spare threshold : 10%
percentage used : 0%
data units read : 41908532.1 MB
data units written : 31591917.9 MB
host read commands : 661401547
host write commands : 571198332
controller busy time : 481 mins
power cycles : 414 times
ES3000 V5 NVMe PCIe SSD
User Guide
5 Maintenance and Upgrade
Issue 07 (2019-03-19)
Copyright © Huawei Technologies Co., Ltd.
89