User Manual

SCSI Commands Reference Manual, Rev. J 283
www.seagate.com Zone Block Commands (ZBC)
4.2 CLOSE ZONE command (94h/01h)
The CLOSE ZONE command (see table 243) requests the device server to perform close zone operations (see ZBC).
OPERATION CODE and SERVICE ACTION fields
The OPERATION CODE field and the SERVICE ACTION field are defined in 2.2 and shall be set to the values shown in table 243 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). EMPTY, CLOSED, or FULL, then the device server shall make no changes in the Zone Condition and not return an error;
or
D). IMPLICITLY OPENED or EXPLICITLY OPENED, then the device server shall perform a close 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 a close zone operation (see ZBC) on each zone with a Zone Condition of
EXPLICIT OPEN or IMPLICIT OPEN.
The CONTROL byte is defined in 2.2.7.
Table 243 CLOSE ZONE command
Bit
Byte
7 6 5 4 3 2 1 0
0 OPERATION CODE (94h)
1 Reserved SERVICE ACTION (01h)
2 (MSB)
ZONE ID. . .
9 (LSB)
10
Reserved. . .
13
14 Reserved ALL
15 CONTROL