RELEASE UNIT

6.Command Specification

6.18.RELEASE UNIT (6/10) 17h and 57h

Table 6-80: Release UNIT 6 CDB format

Bit

7

6

5

4

 

3

2

1

0

Byte

 

 

 

 

 

 

 

 

 

0

 

 

 

Operation

Code (17h)

 

 

 

1

 

Reserved

 

 

 

 

Obsolete

 

 

2

 

 

 

 

Reserved

 

 

 

3

 

 

 

 

Reserved

 

 

 

4

 

 

 

 

Reserved

 

 

 

5

 

 

 

 

Control

 

 

 

Table 6-81:Release UNIT 10 CDB format

Bit

7

6

5

4

 

3

 

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

0

 

 

 

Operation

Code (57h)

 

 

 

1

 

Reserved

 

3rdPty

 

 

Reserved

LongID

Obsolete

2

 

 

 

Obsolete

 

 

 

 

 

3

 

 

 

Third Party Device ID

 

 

4

 

 

 

Reserved

 

 

 

 

 

5

 

 

 

Reserved

 

 

 

 

 

6

 

 

 

Reserved

 

 

 

 

 

7-8

 

 

 

Parameter List Length

 

 

9

 

 

 

Control

 

 

 

 

 

RELEASE UNIT releases the drive if it was reserved by the requesting initiator using a RESERVE (6/10) command and is still in the reserved state. See PERSISTENT RESERVE OUT/IN for an alternate reservation system. This command cannot release a reservation generated by the PERSISTENT RESERVE OUT command.

Third party reservation management operations are only allowed using RESERVE (10) and RELEASE (10). Logical Unit reservation management operations are allowed using RESERVE (6/10) and RELEASE (6/10).

3rdPty: The Third-Party release option for the RELEASE UNIT command allows an initiator to release a logical unit that was previously reserved using the Third-Party reservation option.

If the 3rdPty bit is ZERO, then the Third-Party release option is not requested. If the 3rdPty bit is one, then the drive is released, if the reservation was made using the Third-Party reservation option by the initiator that is requesting the release and for the same SCSI device as specified in the Third-Party Device ID field.

Obsolete: The Obsolete fields must be set to ZERO.

If the value in any Obsolete field is not ZERO, the command is terminated with CHECK CONDITION status and the Sense Key is set to ILLEGAL REQUEST. The Additional Sense Code is set to INVALID FIELD IN CDB.

3rd Party: Third Party Release allows an initiator to release a logical unit that was previously reserved for third party operations.

If the value in this field is 0b, a Logical Unit release is not requested.

If 3rdPty = 1b, the Logical Unit releases the specified logical unit, but only if the initiator, 3rdPty bit, and Third Party Device ID fields (in CDB or in Parameter List) are identical when compared to the values used in the RESERVE (10) command that established the reservation.

Long ID: If the Long ID bit is set to 1b and the Parameter List Length is 8, the parameter list contains the eight bytes of the device ID of the Third Party Device ID.

If the 3RDPTY bit is zero, the LONGID bit field is ignored.

This is required for Fiber Channel since each Device ID is at least three bytes long.

SONY AIT-3Ex drive SDX-800V series Ver.1.1

6-79

Page 137
Image 137
Sony SDX-800V/R manual Release Unit 6/10 17h and 57h, Parameter List Length Control