Erasing Storage Media Data - Huawei 5288 V3 V100R003 User Manual

Table of Contents

Advertisement

5288 V3 Server
User Guide
As shown in
Step 4 Query information about the NVMe PCIe SSD drive letters.
For example, to query information about the NVMe PCIe SSDs in /sys/class/block/, run the
following command:
ls -l /sys/class/block/
Information similar to
Figure 9-33 Mapping between NVMe PCIe SSD drive letters, PCIe bus IDs, and 80 IDs
Step 5 Obtain the mapping between slot IDs and SSD drive letters based on the mapping between the
slot IDs and bus IDs.
For example, as shown in
According to the information obtained in
Therefore, drive letter nvme0n1 maps to slot ID 8.
----End

9.10 Erasing Storage Media Data

Erase the storage media data by using either of the following:
l
l
Issue 26 (2018-11-19)
Figure
9-32, the bus ID of the NVMe PCIe SSD in slot 8 is 0000:81:00.
Figure 9-32
Figure
NOTE
The slot IDs queried in
Step 2
they are not, get them from the 80 IDs obtained in
indicates the slot number.
Linux command badblocks
Use this command when the storage medium is not in a RAID array or is in a RAID
array without redundancy and the OS is running properly.
The badblocks command erases data by writing all 0s on the storage device based on the
command parameters specified.
Toolkit
Use Toolkit in the following scenarios:
– The storage medium is not in a RAID array or is in a RAID array without
redundancy, but the OS is not running properly.
– The storage medium is in a RAID array with redundancy.
Copyright © Huawei Technologies Co., Ltd.
is displayed.
9-33, drive letter nvme0n1 maps to bus ID 0000:81:00.0.
Figure
9-32, bus ID 0000:81:00 maps to slot ID 8.
should be consistent with the slot IDs (4 to 7) marked on the server. If
Step
4. For example, "02.0" in 80 ID 0000:80:02.0
9 Common Operations
272

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents