6.4.3 Formatting an SSD
Function
This command is used to format an SSD. Secure formatting and quick formatting are
supported.
Format
hioadm format -d devicename
[
-m formatmode
] [
-t lbasize
] [
-pt protectiontype
] [
-pil
location
] [
-mc metadatamode
]
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.
l
3
: The sector size is 4 KB, and the metadata size is
64 B.
l
4
: The sector size is 4 KB, and the metadata size is
8 B.
l
5
: The sector size is 520 B, and the metadata size is
0 B.
l
6
: The sector size is 4160 B, and the metadata size
is 0 B.
If this parameter is not specified, the sector size and
type are not changed.
NOTE
The Linux operating system supports all the preceding sector
types (5 and 6 are applicable only to SAS drives). The
Windows operating system supports sector types 0, 1, 5, and 6
(5 and 6 are applicable only to SAS drives). The ESXi system
supports only the 512 B sector type. If this parameter is not
set, the sector type is not changed.
ES3000 V5 NVMe PCIe SSD
User Guide
6 Command Description
Issue 07 (2019-03-19)
Copyright © Huawei Technologies Co., Ltd.
122