Skip to main content

Erasing storage data

Use the following information to erase storage data.

Secure data deletion for all data storage devices

From V2.8.0, OneCLI supports securely erasing data for all data storage devices on Lenovo ThinkSystem servers. The secure erase is defined in the following ways: the effective erasure of all traces of existing data from a data storage device, overwriting the data completely in such a way that access to the original data, or parts of them, becomes infeasible for a given level of effort. OneCLI supports the secure erase command by leverage BMU solution.

  1. Prepare the BMU environment by inputting the following OneCLI command:

    ./OneCli update acquire --platform --dir xxx
    Note
    The package will be uploaded to sftp server if specified option ‘--sftp’ is added.
  2. Run OneCLI secure erase command to launch the BMU solution. OneCLI will boot the remote target server to Maintenance OS.

    ./OneCli serase --bmc userid:password@ipaddress [--sftp userid:password@ipaddress:6990] --dir xxx
    Note
    Set the sftp port as 6990. The default port 22 cannot work.
  3. Check the OneCLI scan results and select the disk to perform secure erase operation after the Maintenance OS booting.

    1. OneCLI will scan and display all available disks on the target server.

    2. Follow the OneCLI hints to select the target disk and erase method.

    3. After all the erase operations completion, OneCLI will report the results. Make sure that the OneCLI commands remain active during the entire execution time, otherwise the task might be interrupted by error.