Parameters
Parameter
Description
Value
devicename
Name of an SSD.
Example:
nvme0
Usage Guidelines
l
This command supports NVMe SSDs provided by other vendors.
l
Before running this command, stop all I/O services of the SSD and perform the
following:
–
For Linux, unmount all logical disks. Stop all the processes on the logical disks that
use the SSD, and run the
fuser
command to check that these processes are all
stopped. The following information (in this example, the SSD has two logical disks)
indicates that a process is using an SSD logical disk. Stop the process.
[root@localhost tool]#
fuser /dev/nvme0n1 /dev/nvme0n2
/dev/nvme0n1: 14789
/dev/nvme0n1: 14812
–
For ESXi, delete all partitions of all logical disks.
–
For Windows, make the logical disks offline, as shown in
.
Figure 6-3
Making a logical disk offline
Example
# Safely erase user data of the
nvme0
SSD.
[root@localhost tool]#
hioadm secure -d nvme0
WARNING! The secure operation will clear all data.
WARNING! You have selected the secure operation.
Proceed with the secure? (Y|N):
y
Formatting.... OK
The secure operate successed.
Please remove and then install the NVMe driver or reboot the OS.
ES3000 V3 NVMe PCIe SSD
User Guide
6 Command Description
Issue 20 (2019-02-27)
Copyright © Huawei Technologies Co., Ltd.
111