Parameters
Parameter Description
Value
devicename
Name of an SSD. Example:
nvme0
formatmode
Formatting
mode.
l
0
: quick formatting (Secure Erase Settings=0)
l
1
: secure formatting (Secure Erase Settings=1)
If this parameter is not specified, the default value
0
is
used.
lbasize
Sector size and
type.
l
0
: The sector size is 512 B, and the metadata size is 0 B.
l
1
: The sector size is 4 KB, and the metadata size is 0 B.
l
2
: The sector size is 512 B, and the metadata size is 8 B.
If this parameter is not specified, the sector size and type
are not changed.
NOTE
l
Linux and Windows support the preceding values. ESXi
supports only the value
0
. If this parameter is not specified, the
sector size and type are not changed.
l
In the ES3000 V3 series, an SSD with a capacity greater than
4 TB does not support 512B sectors.
Usage Guidelines
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 all logical disks offline, as shown in
ES3000 V3 NVMe PCIe SSD
User Guide
6 Command Description
Issue 20 (2019-02-27)
Copyright © Huawei Technologies Co., Ltd.
109