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 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. 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. 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).
devlun showhanginfo

devlun showhanginfo

Function

The devlun showhanginfo command is used to print information about hung and blocked commands.

Format

devlun showhanginfo [ lunid num | lunid ]

Parameters

Parameter

Description

Value

lunid

LUN ID.

The value ranges from 0 to n minus one. n indicates the maximum number of LUNs.

num

Information about num LUNs after a LUN ID.

LUN ID plus num is less than n minus one, where n indicates the maximum number of LUNs supported by a product.

Views

Diagnostic view

Usage Guidelines

None

Example

  • Print information about hung and blocked commands on a LUN.
    admin:/diagnose>devlun showhanginfo 1 
    lunid : 1 
    hangCmdCount : 0 
    blockCmdCount : 0 
    DispatchedReadIO : 1 
    DispatchedWriteIO : 1 
    Isbgrfinished : FALSE 
    Ishangfinished : FASLE 
    Req info in hang list: 
    index opcode LBA length io flag address 
    ----- ------ --- ------ ------- ------- 
    Hang lun IO command info: 
    index pid key time 
    ----- --- --- ---- 
    Block lun IO command info: 
    index pid key 
    ----- --- ---
  • Print information about hung and blocked commands on num LUNs after a LUN ID.
    admin:/diagnose>devlun showhanginfo 0 7 
     
     lunid       bgrIsfinished       hangIsfinished        hangCmdCnt       blockCmdCnt  DispatchedReadIO       DispatchedWriteIO     
     -----       -------------       --------------        ----------       -----------       ----------------       -----------------     
          0             FALSE               FALSE                0                0                    1                      5              
          1             FALSE               FALSE                0                0                    1                      1              
          2             FALSE               FALSE              0                0                    1                      7              
          3             FALSE               FALSE                0                0                    1                      1              
          4             FALSE             FALSE                0                0                    1                      7              
          5             FALSE               FALSE                0                0                    1                      1              
          6             FALSE               FALSE                0                0                    1                      4
  • Print information about hung and blocked commands on all LUNs.
    admin:/diagnose>devlun showhanginfo 
     
     lunid       bgrIsfinished       hangIsfinished        hangCmdCnt       blockCmdCnt       DispatchedReadIO       DispatchedWriteIO     
     -----       -------------       --------------        ----------       -----------       ----------------       -----------------     
          0             FALSE               FALSE                0                0                    1                      5              
          1             FALSE               FALSE                0                0                    1                      1              
          2             FALSE               FALSE                0                0                    1                      7              
          3             FALSE               FALSE                0                0                    1                      1              
          4             FALSE               FALSE                0                0                    1                      7              
          5             FALSE               FALSE                0                0                  1                      1              
          6             FALSE               FALSE                0                0                    1                      4

System Response

The following table describes the parameter meanings.

Parameter

Meaning

lunid

LUN ID.

hangCmdCount

Count of hung commands.

blockCmdCount

Count of blocked commands.

DispatchedReadIO

Count of delivered read I/Os.

DispatchedWriteIO

Count of delivered write I/Os.

Isbgrfinished

Whether bgr is hung.

Ishangfinished

Whether the hang is complete.

index

REQ index.

opcode

Operation code.

LBA

Start address of REQ access.

length

Address length of REQ access.

io flag

I/O flag.

address

REQ address.

index

Index of a hung command.

pid

pid of a hung command.

key

key of a hung command.

time

Time when a command is hung.

index

Index of a blocked command.

pid

pid of a blocked command.

key

key of a blocked command.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 486696

Downloads: 85

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