User Manual

SCSI Commands Reference Manual, Rev. J 285
www.seagate.com Zone Block Commands (ZBC)
4.4 OPEN ZONE command (94h/03h)
The OPEN ZONE command (see table 245) requests the device server to perform open zone operations (see ZBC).
OPERATION CODE and SERVICE ACTION fields
A. The OPERATION CODE field and the SERVICE ACTION field are defined in 2.2 and shall be set to the values shown in
table 245 for the CLOSE ZONE command.
ZONE ID field and ALL bit
If the ALL bit is set to zero, then the ZONE ID field specifies the lowest LBA of the write pointer zone on which the device server shall perform a
close zone operation. If the ALL bit is set to one, then the device server shall ignore the ZONE ID field.
If the ALL bit is set to zero and the ZONE ID field:
a) does not specify the lowest LBA of a write pointer zone (see ZBC), then the device server shall terminate the command with CHECK
CONDITION status, with the sense key set to ILLEGAL REQUEST and the additional sense code set to INVALID FIELD IN CDB; or
b) specifies the lowest LBA of a write pointer zone (see ZBC) and for the zone specified by the ZONE ID field, the Zone Condition is:
A. READ ONLY, then the device server shall terminate the command with CHECK CONDITION status, with the sense key set
to DATA PROTECT and additional sense code set to ZONE IS READ ONLY;
B). OFFLINE, then the device server shall terminate the command with CHECK CONDITION status, with the sense key set to
DATA PROTECT and additional sense code set to ZONE IS OFFLINE;
C). EXPLICITLY OPENED or FULL, then the device server shall make no changes in the Zone Condition and not return an
error; or
D). IMPLICITLY OPENED, CLOSED, or EMPTY, then the device server shall perform an open zone operation (see ZBC) on the
zone specified by the ZONE ID field.
An ALL bit set to one specifies that the device server shall perform an open zone operation (see ZBC) on each zone with a Zone Condition of
CLOSED. If the ALL bit is set to one, then the device server shall ignore the ZONE ID field.
For a host managed zoned block device, if the ALL bit is set to one and the number of zones with a Zone Condition of EXPLICIT OPEN plus the
number of zones with a Zone Condition of CLOSED is greater than the maximum number of open sequential write required zones, then the
device server shall terminate the command with CHECK CONDITION status, with sense key set to DATA PROTECT and the additional sense code
set to INSUFFICIENT ZONE RESOURCES.
The CONTROL byte is defined in 2.2.7.
Table 245 OPEN ZONE command
Bit
Byte
7 6 5 4 3 2 1 0
0 OPERATION CODE (94h)
1 Reserved SERVICE ACTION (03h)
2 (MSB)
ZONE ID. . .
9 (LSB)
10
Reserved. . .
13
14 Reserved ALL
15 CONTROL