Huawei RH2288H V3 User Manual page 333

Hide thumbs Also See for RH2288H V3:
Table of Contents

Advertisement

RH2288H V3 Server
User Guide
Erasing Data from an HDD or SSD by Running the badblocks Command
The following describes how to clear data on an HDD or SSD as an example.
Step 1 Log in to the server holding the drive to be erased.
For details, see
Console
Step 2 Open the CLI and run the lsscsi command to query drive letters.
shows an example.
Figure 9-14 Querying drive letters
Step 3 Run the fdisk -l command to query drive information. As shown in
the drive with the * symbol in the Boot column is a system drive, and sda is the
drive letter.
Figure 9-15 Querying drive information
Step 4 Run the badblocks -swft 0 command to write 0s to the drive to be cleared. For
example, if the drive to be cleared is HD1 and its drive letter is /dev/sdb, run the
badblocks -swft 0 /dev/sdb command to clear the data on HD1, as shown in
Figure
Figure 9-16 Erasing data
Issue 46 (2022-12-28)
9.4 Logging In to the Server Using the Independent Remote
.
NO TE
Do not directly erase system drive data. Before erasing system drive data, erase data from
other storage media.
9-16.
Copyright © Huawei Technologies Co., Ltd.
9 Common Operations
Figure 9-14
Figure
9-15,
320

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

V100r003

Table of Contents