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
Formatting.... OK
secure operate successed.
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 : 68.8 MB
data units written : 0.0 MB
host read commands : 17748
host write commands : 0
controller busy time : 0 mins
power cycles : 89 times
power on hours : 1164 h
unsafe shutdowns : 35 times
media and data integrity errors: 0
number of error information log entries: 0
warning composite temperature time: 0 min
critical composite temperature time: 0 min
data status : OK
ES3000 V3 NVMe PCIe SSD
User Guide
5 Maintenance and Upgrade
Issue 20 (2019-02-27)
Copyright © Huawei Technologies Co., Ltd.
81