No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

5288 V3 Server V100R003 User Guide 26

This document describes the features, appearance, and technical specifications of the 5288 V3 server, and how to install, power on, and power off the 5288 V3 server, connect cables, and install an operating system (OS) for it.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Erasing Storage Media Data

Erasing Storage Media Data

Erase the storage media data by using either of the following:

  • 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.

      In this case, migrate the storage medium to an idle server, mount the Toolkit to the idle server, and erase data from the storage medium.

The methods described in this section are for reference only. You can also use other methods to erase storage media data.

Exercise caution when performing this operation. The data erased cannot be restored.

Erasing Data from an HDD or SSD by Running the badblocks Command

  1. Log in to the server holding the hard disk to be erased.

    For details, see Logging In to a Server Using the Independent Remote Console.

  2. Open the CLI and run the lsscsi command to query drive letters.

    Figure 9-34 shows an example.

    Figure 9-34 Querying drive letters

  3. Run the fdisk -l command to query disk information.

    As shown in Figure 9-35, the hard disk with the * symbol in the Boot column is a system disk, and sda is the drive letter.
    NOTE:

    Do not directly erase system disk data. Before erasing system disk data, erase data from other storage media.

    Figure 9-35 Querying hard disk information

  4. Run the badblocks -swft 0 drive letter command to erase data from the hard disk.

    For example, to erase data from HD1, whose drive letter is /dev/sdb, run the following command:

    badblocks -swft 0 /dev/sdb

    Figure 9-36 Erasing data
    NOTE:
    • The drive letters vary depending on the type of the storage media. Confirm the drive letter of the storage medium before erasing data from it.
    • The data erase operation takes time.
    • If the badblocks -swft 0 command fails, contact Huawei technical support.

  5. Remove the hard disk.

    For details, see Removing a Hard Disk.

    NOTE:

    After data is erased, do not restart or remove and reinstall the server. Otherwise, data will be reloaded to the hard disks when the server restarts.

Removing Data from a microSD Card by Using Toolkit

  1. Download and decompress the Toolkit package FusionServer Tools-Toolkit-Vxxx.zip, and obtain the image FusionServer Tools-Toolkit-Vxxx.iso.
  2. Log in to the iBMC WebUI, choose Configure > Boot Option, set the boot medium to DVD-ROM, and click Save.

    The Boot Option page is displayed.

  3. Open the Remote Virtual Console.

    For details, see Logging In to the Remote Virtual Console.

  4. Click on the toolbar.

    The screen shown in Figure 9-37 is displayed.

    Figure 9-37 Virtual DVD-ROM drive

  5. Select Image File and click Browse.

    The Open dialog box is displayed.

  6. Select FusionServer Tools-Toolkit-Vxxx.iso, and click Connect shown in Figure 9-37.
  7. Click on the toolbar.

    The menu shown in Figure 9-38 is displayed.

    Figure 9-38 Power control

  8. Select the option based on the actual server status to restart the server.

    After the server restarts, the screen shown in Figure 9-39 is displayed.

    Figure 9-39 Toolkit startup screen

  9. Select Toolkit and press Enter.
  10. When information shown in Figure 9-40 is displayed, enter C and press Enter.

    Figure 9-40 Toolkit menu

  11. Enter the user name and password as prompted.

    The CLI is displayed.

    NOTE:

    The default user is root, and the password is Huawei12#$.

  12. Run the fdisk -l command to view the partitions and run the d command to delete partitions, as shown in Figure 9-41.

    Figure 9-41 Viewing and deleting partitions

  13. Run the ftk command to exit the CLI.
Translation
Download
Updated: 2018-11-26

Document ID: EDOC1000080031

Views: 137781

Downloads: 2336

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next