–
For Linux, unmount the logical disk. Stop all the processes on the logical disk, and
run the
fuser
command to check that these processes are all stopped. The following
information indicates that a process is using the logical disk. Stop the process.
[root@localhost tool]#
fuser /dev/nvme0n1
/dev/nvme0n1: 14789
–
For ESXi, delete all partitions of the logical disk.
–
For Windows, make the logical disk offline, as shown in
.
Figure 6-1
Making a logical disk offline
l
Do not read or write data when running this command. Otherwise, I/O errors may occur.
Example
# Perform quick formatting of the logical disk
nvme0n1
.
[root@localhost tool]#
hioadm format -d nvme0n1
WARNING! The format operation will clear all data.
WARNING! You have selected the format operation.
Proceed with the format? (Y|N): y
Formatting.... OK
The format operate successed.
The current LBA Format type : <0> lba=512 metadata=0
6.4.2 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
]
ES3000 V3 NVMe PCIe SSD
User Guide
6 Command Description
Issue 20 (2019-02-27)
Copyright © Huawei Technologies Co., Ltd.
108