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

sys showlunlock

Function

The sys showlunlock command is used to view LUN locks.

Format

sys showlunlock [ lun id ]

Parameters

Parameter

Description

Value

lun id

LUN ID.

The ID is displayed in the output of running the "show lun general" command.

Views

Diagnostic view

Usage Guidelines

None

Example

View the LUN lock of LUN 0.

admin:/diagnose>sys showlunlock 1 
CLM: show lunlock info, input 1 params 
LUN ID: 1 
lock id : type subtype pading(0) pading(1) pading(2) pading(3) 
---- ------- --------- --------- --------- --------- 
0x1 0x0 0x0 0x0 0x0 0x0 
pading(4) pading(5) key 
--------- --------- --- 
0x0 0x0 0x1 
lock proxy(node 0) info: 
lock info : lock state recnt 
---------- ----- 
0 1 
lock right: hold right wait right award right 
---------- ---------- ----------- 
0 0 0 
lock qCnt : award wait block 
----- ---- ----- 
0 0 0 
grant Q lock request: Date Time arc right acq type proxy id sn 
------------------- --------- ---------- -------- -- 
-- -- -- -- -- 
wait Q lock request : Date Time arc right acq type proxy id sn 
------------------- --------- ---------- -------- -- 
-- -- -- -- -- 
block Q lock request: Date Time arc right acq type proxy id sn 
------------------- --------- ---------- -------- -- 
-- -- -- -- -- 
lock master(node 0) info: 
lock info : lock state recnt 
---------- ----- 
2 1 
lock right: hold right wait right award right 
---------- ---------- ----------- 
2 0 0 
lock qCnt : award wait block 
----- ---- ----- 
0 0 0 
grant Q lock request: Date Time arc right acq type proxy id sn 
------------------- --------- ---------- -------- -- 
-- -- -- -- -- 
wait Q lock request : Date Time arc right acq type proxy id sn 
------------------- --------- ---------- -------- -- 
-- -- -- -- -- 
block Q lock request: Date Time arc right acq type proxy id sn 
------------------- --------- ---------- -------- -- 
-- -- -- -- --

System Response

The following table describes the parameter meanings.

Parameter

Meaning

type

Lock type.

subtype

Lock sub-type.

pading(0)

Padding.

key

Unique identifier of a lock.

lock info

Lock information.

lock state

State of a lock's running state machine.

recnt

Count of references.

lock right

Lock permission information.

hold right

Obtained permission.

wait right

Permission waiting to be granted.

award right

Permission that has been granted.

grant Q lock request

Queue of successfully granted locks.

wait Q lock request

Queue of locks waiting to be granted.

block Q lock request

Queue of locks blocked to be granted.

Date Time

Request creation time.

acq right

Obtained permission in the lock request.

acq type

Request operation code.

proxy id

Created module ID or ID of the node requesting a lock.

sn

Created SN.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 498517

Downloads: 85

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