Returned data for service actions:

Read Keys service action

The drive will return a parameter list containing an 8-byte header and list of each currently registered I_T nexus’ reservation key. Each key is 8 bytes long. The format of the returned data is as follows:

 

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

0

(MSB)

 

 

PR Generation

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

Commands

4

7

Additional Length (n-7)

8

First Reservation Key

15

n-7

n

Last Reservation Key

PR Generation A 32-bit counter that is maintained by the drive and incremented every time a PERSISTENT RESERVE OUT command requests a Register, Register and Ignore Existing Key, Clear, Preempt, or Preempt and Abort service action.

Read Reservation service action

The drive returns a parameter list containing an 8-byte header and the persistent reservation, if any, that is present in the drive. If no persistent reservation is present, Additional Length is 0 and no reservation data is returned. If a persistent reservation is present, Additional Length is 10h and

16 bytes of reservation data are returned as follows:

 

 

7

6

5

 

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

0

(MSB)

 

 

 

PR Generation

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Additional Length (0 or10h)

 

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reservation Key

 

 

 

 

15

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

17

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Obsolete (0)

 

 

 

 

 

19

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

20

 

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

21

 

Scope (0)

 

 

 

 

 

 

Type

 

 

22

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Obsolete (0)

 

 

 

 

 

23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PERSISTENT RESERVE IN 5Eh 99