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

CH225 V3 Compute Node V100R001 User Guide 07

This document describes the appearance, functions, and structure of the CH225 V3 storage expansion compute node (CH225 V3 for short), and methods of installing, removing, and configuring the CH225 V3.
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

This topic describes how to erase data from storage media by running the Linux command badblocks or mounting the toolkit.

Scenarios

  • 1: If the storage medium is not configured in a RAID or is configured in a RAID without redundancy and the compute node OS is running properly, run the Linux command badblocks.
  • 2: If the storage medium is not configured in a RAID or is configured in a RAID without redundancy and the compute node OS is not running properly, mount the toolkit to the compute node.
  • 3: If the storage medium is in a RAID with redundancy, move the storage medium to an idle compute node and mount the toolkit to the idle compute node.

Prerequisites

Conditions

  • Scenario 1: The storage medium is not configured in a RAID or is configured in a RAID without redundancy and the compute node OS is running properly.
  • Scenario 2: The storage medium is not configured in a RAID or is configured in a RAID without redundancy and the compute node OS is not running properly.
  • Scenario 3: The storage medium is in a RAID with redundancy.

Data

  • Chassis number of the storage device.
  • Slot number of the storage device.
  • Position of the storage device.

Hardware

An idle compute node. This is required only for scenario 3.

Note

  • The Linux badblocks command is used to erase data from storage devices. This command erases data by writing all 0s on the storage device based on the command parameters specified.
  • The methods described in this topic 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.

Procedure

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

  1. Log in to the compute node holding the hard disk to be erased.

    For details, see Logging In to the Real-Time Desktop.

  2. Open the command line interface (CLI) and run the lsscsi command to query drive letters.

    Figure 9-10 shows an example.

    Figure 9-10 Querying drive letters

  3. Run the fdisk -l command to query information about hard disks and the system disk. In Figure 9-11, the hard disk with the * symbol in the Boot column is the system disk. In Figure 9-11, sda is the system disk.

    NOTE:

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

    Figure 9-11 Querying hard disk information

  4. Run the badblocks -swft 0 command to write zeros to the hard disk. For example, if you need to erase data from HD1, whose drive letter is /dev/sdb, run the badblocks -swft 0 /dev/sdb command.

    Figure 9-12 Erasing data
    NOTE:
    • HDDs, SSDs, microSD cards, SATA DOMs, and USB flash drives may have different drive letters. Check the drive letter of the storage medium before running the badblocks -swft 0 command.
    • This operation may take some 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 compute node. Otherwise, data will be reloaded to the hard disks when the compute node restarts.

Erasing Data from a microSD Card by Mounting the Toolkit.

  1. On the iBMC WebUI, choose Configure > Boot Option.

    The Boot Option page is displayed.

  2. Select DVD-ROM and click Save.
  3. Open the Remote Virtual Console.
  4. Click on the toolbar.

    The screen shown in Figure 9-13 is displayed.

    Figure 9-13 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-13.
  7. Click on the toolbar.

    The menu shown in Figure 9-14 is displayed.

    Figure 9-14 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-15 is displayed.

    Figure 9-15 Toolkit startup screen

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

    Figure 9-16 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-17.

    Figure 9-17 Viewing and deleting partitions

  13. Run the ftk command to exit the CLI and go back to the Toolkit menu.
Translation
Download
Updated: 2019-07-10

Document ID: EDOC1000095351

Views: 7675

Downloads: 74

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