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 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).
ld show diskdbinfo

ld show diskdbinfo

Function

The ld show diskdbinfo command is used to query the basic data information of a specified logical disk.

Format

ld show diskdbinfo l=?

ld show diskdbinfo l=? usermode

Parameters

Parameter

Description

Value

l=? Logical ID of a disk.

To obtain the value, run the "ld show disk -app_data" or "ld show disk" command.

usermode
  • When this parameter is mandatory, the current command can be used only in the user mode.
  • When this parameter is optional, the current command can be used in both the user mode and kernel mode.

The value is "-app_data", indicating that the command is executed in the user mode.

Views

Diagnostic view

Usage Guidelines

  • Run the "ld show diskdbinfo l=? -app_data" command to query the basic data information of a specified logical disk in the user mode.
  • Run the "ld show diskdbinfo l=?" command to query the basic data information of a specified logical disk in the kernel mode.
  • Run the "ld show diskdbinfo" command in the user mode when the system supports both the kernel and user modes.

Example

  • Query the basic data information of the disk whose logical ID is "33554944".

    admin:/diagnose> ld show diskdbinfo l=33554944 -app_data
    isUsed:TRUE
    logicDiskId:33554944
    diskType:3
    useCount:1
    arrayId:0
    frameId:0
    slotId:2
    capacity:1939760560
    devLunId:0
    hostLunId:0
    rssType:0
    wwn:2102350SWJ10H5000497
    sysWwn:
    diskPoolID:0
    tierID:0
    healthStatus:1
    isReconComplete:FALSE
    ignoreFlag:0
    ownerEngineId:0
    isCfged:TRUE
    vendor:
    product:
    smartCachePoolId:4294967295
    hwSectorSize:520
    healthflag:0
    faulttype:0
  • Query the basic data information of the disk whose logical ID is "521".

    admin:/diagnose>ld show diskdbinfo l=521
    isUsed:FALSE
    logicDiskId:0
    diskType:0
    useCount:0
    arrayId:0
    frameId:0
    slotId:0
    capacity:0
    devLunId:0
    hostLunId:0
    rssType:0
    wwn:
    sysWwn:
    diskPoolID:4294967295
    tierID:4294967295
    healthStatus:1
    isReconComplete:FALSE
    ignoreFlag:0
    ownerEngineId:4294967295
    isCfged:TRUE
    vendor:
    product:
    smartCachePoolId:4294967295
    hwSectorSize:0

System Response

The following table describes the parameter meanings.

Parameter

Meaning

isUsed

Whether the disk is in use.

logicDiskId

Disk physical ID.

diskType

Disk type.

useCount

Number of upper-layer services that are using the disk.

arrayId

Array ID of the external LUN.

frameId

ID of the enclosure where the disk resides.

slotId

Number of the slot where the disk resides.

capacity

Disk capacity.

devLunId

"devLunId" of the LUN serving as an external LUN.

hostLunId

"hostLunId" of the LUN serving as a host LUN.

rssType

Replication service type of the external LUN.

wwn

Disk WWN.

sysWwn

System device WWN.

diskPoolID

Disk domain ID.

tierID

Tier where the disk resides.

healthStatus

Disk health status.

ignoreFlag

Whether the disk is rejected when it is faulty, slow, or damaged.

isReconComplete

Whether disk reconstrution is complete.

ownerEngineId

ID of the engine to which the disk belongs.

isCfged

Whether the disk is configured.

vendor

Disk vendor.

product

Disk model.

smartCachePoolId

ID of the SmartCache pool to which the disk belongs.

hwSectorSize

Physical sector size of the disk.

healthflag

Disk health status flag.

faulttype

Fault cause type of a disk fault.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 754064

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next