Dell PowerVault ML6000 Dell PowerVault ML6000 SCSI Reference Guide - Page 58

Persistent Reserve In – 5Eh, What the Library Does With This Command, Command Usage

Page 58 highlights

Persistent Reserve In - 5Eh What the Library Does With This Command The library returns information about persistent reservation and reservation keys that are currently active. Command Usage This command is used in conjunction with PERSISTENT RESERVE OUT to manage persistent reservations. It can be used to retrieve a list of the current reservations and the registered reservation keys. The PERSISTENT RESERVE IN and PERSISTENT RESERVE OUT commands should not be used with the RESERVE ELEMENT and RELEASE ELEMENT commands. Persistent Reserve In CDB Format The PERSISTENT RESERVE IN CDB format is shown in the following table. Table 45 PERSISTENT RESERVE IN CDB format Byte Bit 7 6 5 4 3 2 1 0 0 Op Code (5Eh) 1 Logical Unit Number Service Action 2 Reserved 3 Reserved 4 Reserved 5 Reserved 6 Reserved 7 Allocation Length 8 9 Control Service Action - This field specifies the type of request being made as follows: • 0h - Read all registered reservation keys. • 1h - Read all current persistent reservations. Allocation Length - This field specifies the byte length allowed for returning the requested data. The number of bytes returned is the lesser of the available data to return or the allocation length. Persistent Reserve In Response Two types of response are available, depending on the requested service action. 48 SCSI Commands

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90

48
SCSI Commands
Persistent Reserve In – 5Eh
What the Library Does With This Command
The library returns information about persistent reservation and reservation keys that are currently active.
Command Usage
This command is used in conjunction with PERSISTENT RESERVE OUT to manage persistent
reservations. It can be used to retrieve a list of the current reservations and the registered reservation keys.
The PERSISTENT RESERVE IN and PERSISTENT RESERVE OUT commands should not be used with
the RESERVE ELEMENT and RELEASE ELEMENT commands.
Persistent Reserve In CDB Format
The PERSISTENT RESERVE IN CDB format is shown in the following table.
Service Action
– This field specifies the type of request being made as follows:
0h – Read all registered reservation keys.
1h – Read all current persistent reservations.
Allocation Length
– This field specifies the byte length allowed for returning the requested data. The
number of bytes returned is the lesser of the available data to return or the allocation length.
Persistent Reserve In Response
Two types of response are available, depending on the requested service action.
Table 45
PERSISTENT RESERVE IN CDB format
Bit
Byte
7
6
5
4
3
2
1
0
0
Op Code (5Eh)
1
Logical Unit Number
Service Action
2
Reserved
3
Reserved
4
Reserved
5
Reserved
6
Reserved
7
Allocation Length
8
9
Control