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

Advanced O&M Command Reference

OceanStor 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.

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

bdm_diskbomlist.sh

Function

The bdm_diskbomlist.sh command is used to run commands related to the BDM module.

Format

bdm_diskbomlist.sh { -h | -a | showdisk | showbomcode | addwhitebom | delwhitebom | addblackbom | delblackbom | resetwhitebom | resetblackbom}

Parameters

Parameter

Description

Value

showdisk Shows system disk information.

-

showbomcode Shows information about the BOM blacklist and BOM whitelist.

-

addwhitebom Adds a disk item in the BOM whitelist.

-

-h Shows help information.

-

-a Shows functions of each subcommand of the BDM module.

-

delwhitebom Deletes a disk item from the BOM whitelist.

-

addblackbom Adds a disk item to the BOM blacklist.

-

delblackbom Deletes a disk item from the BOM blacklist.

-

resetwhitebom Restores the initial configuration of a BOM whitelist.

-

resetblackbom Restores the initial configuration of a BOM blacklist.

-

Modes

Minisystem mode

Usage Guidelines

  • The bdm_diskbomlist.sh showdisk command is used to show the current system's disk information.
  • The bdm_diskbomlist.sh showbomcode command is used to show the disk items in the BOM blacklist and BOM whitelist of the current system.
  • The bdm_diskbomlist.sh addwhitebom command is used to add a disk item to the system's BOM whitelist.
  • The bdm_diskbomlist.sh delwhitebom command is used to delete a disk item from the system's BOM whitelist.
  • The bdm_diskbomlist.sh addblackbom command is used to add a disk item to the system's BOM blacklist.
  • The bdm_diskbomlist.sh delblackbom command is used to delete a disk item from the system's BOM blacklist.
  • The bdm_diskbomlist.sh resetwhitebom command is used to restore the initial configuration of a BOM whitelist.
  • The bdm_diskbomlist.sh resetblackbom command is used to restore the initial configuration of a BOM blacklist.

Example

  • Show system disk information.

    Storage: minisystem> bdm_diskbomlist.sh showdisk
    admin:/diagnose>sddebug showdisk
       Frame Slot    ID Serial Number            Size     Type Capacity Sector  RPM    BW Level   Valid  BOM              Barcode
           0    0    32 FZ0214080710000514        2.5      SSD      59G    512  0.0K   0G     0  Normal                   
           0    0    64 2102350LGX10FA000326      2.5      SSD     378G    520  0.0K   3G     0  Normal  0235G6M8         210235G6BB1000000007
           0    1    65 2198080572FSF9000133      2.5      SSD     378G    520  0.0K   3G     0  Normal  0235G6M8         210235G6BB1000000007
           0    2    67 2102350LGX10FA000239      2.5      SSD     378G    520  0.0K   3G     0  Normal  0235G6M8         210235G6BB1000000007
           0    3    69 2102350LGX10FC001975      2.5      SSD     378G    520  0.0K   6G     0  Normal  02350LGX         2102350LGX10FC001975
           0    4    70 2102350LGX10G3000724      2.5      SSD     378G    520  0.0K   6G   350  Normal  02350LGX         2102350LGX10G3000724
           0    7    71 2102350LGX10G3000313      2.5      SSD     378G    520  0.0K   6G   350  Normal  02350LGX         2102350LGX10G3000313
    admin:/diagnose>exit 
  • Show information about the BOM blacklist and BOM whitelist.

    Storage: minisystem> bdm_diskbomlist.sh showbomcode
    admin:/diagnose>sddebug showbomcode
    Bom whitelist: 0235G6M8 02350LGX
    Bom blacklist: 22223333 44445555
    admin:/diagnose>exit 
  • Add a disk item in the BOM whitelist.

    Storage: minisystem> bdm_diskbomlist.sh addwhitebom 00005555
    admin:/diagnose>sddebug addwhitebom 00005555
    Add bom in whitelist succeeded
    admin:/diagnose>exit
  • Delete a disk item from the BOM whitelist.

    Storage: minisystem> bdm_diskbomlist.sh delwhitebom 00005555
    admin:/diagnose>sddebug delwhitebom 00005555
    Delete bom in whitelist succeeded
    admin:/diagnose>exit
  • Restore the initial configuration of a BOM blacklist.

    Storage: minisystem> bdm_diskbomlist.sh resetblackbom
    admin:/diagnose>sddebug clearbomlist black
    reset blacklist succeeded
    admin:/diagnose>exit
  • Add a disk item to the BOM blacklist.

    Storage: minisystem> bdm_diskbomlist.sh addblackbom 66667777
    admin:/diagnose>sddebug addblackbom 66667777
    Add bom in blacklist succeeded
    admin:/diagnose>exit
  • Delete a disk item from the BOM blacklist.

    Storage: minisystem> bdm_diskbomlist.sh delblackbom 66667777
    admin:/diagnose>sddebug delblackbom 66667777
    Delete bom in blacklist succeeded
    admin:/diagnose>exit 
  • Restore the initial configuration of a BOM whitelist.

    Storage: minisystem> bdm_diskbomlist.sh resetwhitebom
    admin:/diagnose>sddebug clearbomlist white
    reset whitelist succeeded
    admin:/diagnose>exit

System Response

None

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181575

Views: 725645

Downloads: 32

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next