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


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


Advanced O&M Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands.

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


The command is used for disk maintenance in minisystem mode.

Format -v -s -f i /dev/sd -f C /dev/sd -f a /dev/sd -f u -w FILE /dev/sd -f e /dev/sd -f d /dev/sd. -f o /dev/sd -f v -a startLBA [-l length] /dev/sd SCAN -s -d sda sdb SCAN -x -d sda sdb -S r /dev/sd [-D Path] -f I -b InterfaceType -z EnterpriseType [-x MaxSize] /dev/sd -A M -z getERC /dev/sd -A M -z setERC -V value /dev/sd -A M -z setAWRE -V value /dev/sd -A M -z setARRE -V value /dev/sd -A l /dev/sd [-D /home] -A E [-x 30] /dev/sd [-D /home] -A F [-z AllLogTB] /dev/sd [-D /home] -A m /dev/sd [-D /home] -A u /dev/sd [-D /home] -A D /dev/sd [-D path] -A L -i BufferID -a startOffset [-l maxLogSize] /dev/sd -S l /dev/sd -S f -R 1 -V value /dev/sd -S f -R 2 -V value /dev/sd [-D /home] -S M /dev/sd [-D /home] -S U /dev/sd [-D /home] -S x -z FARMLog -k Feature /dev/sd [-D /home] -S R /dev/sd [-D /home] -S H [-z PartLogHG] /dev/sd [-D /home] -A T /dev/sd [-D /home] -t log.txt -A o -z log /dev/sd [-D /home] -t log2.txt -A o -z log2 /dev/sd [-D /home] -t log3.txt -A o -z log3 /dev/sd [-D /home] -t log4.txt -A o -z log4 /dev/sd [-D /home] -t smartval.txt -A o -z smartval /dev/sd [-D /home] -t smartthr.txt -A o -z smartthr /dev/sd [-D /home] -t getio.txt -A o -z getio /dev/sd -A o -z resetwatchdog /dev/sd -A o -z restart /dev/sd -A o -z usefullog /dev/sd [-D /home] -t ExtendLog.txt -A o -z getExtendLog /dev/sd -u statlog.bin -A o -z statlog /dev/sd -A o -z startDeepRecover /dev/sd -A N -z getfeature -c sel -k featureId /dev/nvme -A N -z setfeature -c save -k featureId -b value /dev/nvme -A N -z getlog -k logId /dev/nvme -A N -z getsmart /dev/nvme -A N -z getplist -c type /dev/nvme -A N -z idctrl [-v] /dev/nvme -A N -z idns [-v] /dev/nvme -A N -z upgradefw -c slot -k action -w filepath /dev/nvme -A N -z activatefw -c slot -k action /dev/nvme -T u /dev/sd -f L -a LBA /dev/sd -f P -p 0x(Cylinder-Head-Sector) /dev/sd




Minisystem mode

Usage Guidelines

This command is only used for disk maintenance. Do not run this command unless necessary. If necessary, use it under the guidance of Huawei engineers.


  • Query the version number.

    Storage: minisystem> -v
    --------------------- Version P400.019.019 SVN:2285 For Linux_ARM_64bit at 2019.12.28 12:30 -------------------
  • Query basic information about all disks on a device.

    Storage: minisystem> -s
    Device           Type             Vendor    Product                                   Rev/dev/sd-64a      Disk             HUAWEI    HSSD-D6223AL1T9N                          3235/dev/sd-65a      Disk             HUAWEI    HSSD-D6223AL960N                          3235/dev/sd-66a      Disk             HUAWEI    HSSD-D6223AL960N                          3235/dev/sd-67a      Disk             HUAWEI    HSSD-D6223AL960N                          3735/dev/sd-68a      Disk             HUAWEI    HSSD-D6223AL960N                          3235/dev/sd-69a      Disk             HUAWEI    HSSD-D6223AL960N                          3235/dev/sd-70a      Disk             HUAWEI    HSSD-D6223AL960N                          3235/dev/sd-71a      Disk             HUAWEI    HSSD-D6223AL1T9N                          3235/dev/sd-72a      Disk             HUAWEI    HSSD-D6D23AL7T6N                          3235/dev/sd-73a      Disk             HUAWEI    HSSD-D6D23AL7T6N                          3735/dev/sda         Disk             ATA       MD619HXCHDE3TC                            TCS5TD 
  • Query basic information of a disk.

    Storage: minisystem> -f i /dev/sd-64a
    Device Model:     HSSD-D6223AL1T9NSerial Number:    032VUE10J6000173Firmware Version: 3235User Capacity:    1950389400960 bytes / 0xdf8fe2b0 sectors 
  • Query the sector size of a disk.

    Storage: minisystem> -f C /dev/sd-64a
    Get the block size,  success. Size=520.

System Response

The following table describes the parameter meanings.



Get the block size, success.

Succeeded in querying the disk sector size.

Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 751688

Downloads: 64

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next