sys showlunlock
Parameters
Parameter |
Description |
Value |
---|---|---|
lun id | LUN ID. | The ID is displayed in the output of running the "show lun general" command. |
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. |