Figure 9-21
Querying drive information
Step 5
Write all 0s to the drive to be cleared.
Command:
badblocks -swft 0
Drive letter
Example:
badblocks -swft 0 /dev/sdb
Figure 9-22
Clearing data (example)
l
The drive letters vary with the storage media (HDD, SSD, and USB flash drive). Ensure that the
drive letter that you entered is correct.
l
This operation takes time.
l
If the command fails to execute, contact technical support.
Step 6
Remove the drive.
After the data is cleared, do not restart or reinstall the server. Otherwise, the system will reload data to
the drives during the startup of the server.
----End
FusionServer Pro 2288H V5 Server
User Guide
9 Common Operations
Issue 08 (2019-10-30)
Copyright © Huawei Technologies Co., Ltd.
141