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

ES3000 V3 NVMe PCIe SSD User Guide 20

This document provides the product information about the Huawei ES3000 V3 PCIe SSD (ES3000 V3 for short) and describes how to install, configure, operate, and maintain the ES3000 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).
Formatting an SSD

Formatting an SSD

Function

This command is used to format an SSD. Secure formatting and quick formatting are supported.

Format

hioadm format -d devicename [-m formatmode] [-t lbasize]

Parameters

Parameter Description Value
devicename Name of an SSD. Example: nvme0
formatmode Formatting mode.
  • 0: quick formatting (Secure Erase Settings=0)
  • 1: secure formatting (Secure Erase Settings=1)

If this parameter is not specified, the default value 0 is used.

lbasize Sector size and type.
  • 0: The sector size is 512 B, and the metadata size is 0 B.
  • 1: The sector size is 4 KB, and the metadata size is 0 B.
  • 2: The sector size is 512 B, and the metadata size is 8 B.

If this parameter is not specified, the sector size and type are not changed.

NOTE:
  • Linux and Windows support the preceding values. ESXi supports only the value 0. If this parameter is not specified, the sector size and type are not changed.
  • In the ES3000 V3 series, an SSD with a capacity greater than 4 TB does not support 512B sectors.

Usage Guidelines

  • Before running this command, stop all I/O services of the SSD and perform the following:
    • For Linux, unmount all logical disks. Stop all the processes on the logical disks that use the SSD, and run the fuser command to check that these processes are all stopped. The following information (in this example, the SSD has two logical disks) indicates that a process is using an SSD logical disk. Stop the process.
      [root@localhost tool]# fuser /dev/nvme0n1 /dev/nvme0n2
      /dev/nvme0n1:        14789
      /dev/nvme0n1:        14812
    • For ESXi, delete all partitions of all logical disks.
    • For Windows, make all logical disks offline, as shown in Figure 6-2.
      Figure 6-2  Making a logical disk offline

  • Do not read or write data when running this command. Otherwise, I/O errors may occur.

Example

# Perform secure formatting of the nvme0 SSD, and set the sector size to 512 B and metadata size to 0 B.

[root@localhost tool]# hioadm format -d nvme0 -m 1 -t 0

WARNING! The format operation will clear all data. 
WARNING! You have selected the format operation.  
Proceed with the format? (Y|N): y 
Formatting.... OK
The format operate successed. 
Please remove and then install nvme driver or reboot the OS. 
The current LBA Format type : <0> lba=512  metadata=0
Translation
Download
Updated: 2019-03-12

Document ID: EDOC1000101091

Views: 58646

Downloads: 1240

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