sys showpoollock
Function
The sys showpoollock command is used to view pool locks.
Format
sys showpoollock [ pool id ]
Parameters
Parameter |
Description |
Value |
---|---|---|
pool id |
POOL ID. |
The ID is displayed in the output of running the "show disk_domain general" command. |
Views
Diagnostic view
Usage Guidelines
None
Example
View the POOL lock of POOL 0.
admin:/diagnose>sys showpoollock 0
CLM: show poollock info, input 1 params POOL ID: 0
lock id : type subtype pading(0) pading(1) pading(2) pading(3) pading(4) pading(5) key
---- ------- --------- --------- --------- --------- --------- --------- ---
0x2 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
lock proxy(node 1) 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 acq right acq type proxy id sn
------------------- --------- ---------- -------- --
-- -- -- -- --
wait Q lock request : Date Time acq right acq type proxy id sn
------------------- --------- ---------- -------- --
-- -- -- -- --
block Q lock request: Date Time acq right acq type proxy id sn
------------------- --------- ---------- -------- --
-- -- -- -- --
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
type |
Lock type. |
pading(0) |
Padding. |
recnt |
Count of references. |
hold right |
Obtained permission. |
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. |
wait right |
Permission waiting to be granted. |
lock right |
Lock permission information. |
lock state |
State of a lock's running state machine. |
lock info |
Lock information. |
key |
Unique identifier of a lock. |
subtype |
Lock sub-type. |
proxy id |
Created module ID or ID of the node requesting a lock. |
sn |
Created SN. |