scsi show reservation lun
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
lunID | LUN ID. | The value ranges from 0 to n minus one. The n indicates the maximum number of LUNs supported by the product. |
Example
View reservation information about a specific LUN.
admin:/diagnose>scsi show reservation lun -l 0 SCSI Reserve State meta obj lun[0]: status[0] scsiMagic[53525601] scsiReserve : state[2] scsiReserve : type[255] scsiReserve : scope[255] scsiReserve : APTPL[0] scsiReserve : PRgeneration[1] scsiReserve : initiatorWwn[ffffffffffffffff] scsiReserve : targetPortId[ffff] scsiReserve : keyCount[1] --------0 - 0 -------- --->resKey : keyValue[123456] --->resKey : initiatorWwn[2100001b3287f2b1] --->resKey : targetPortId[7] ------------------------ -----------
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
state | The value can be "0", "1", "2", "3", where:
|
type | Reservation type. |
scope | Reservation scope. |
APTPL | Power failure protection supported or not. The value can be "0" or "1", where:
|
PRgeneration | Count of reserved commands. |
initiatorWwn | World Wide Name (WWN) of the initiator. |
targetPortId | Port ID of the target. |
keyCount | Count of registration keys. |