User Manual

SCSI Commands Reference Manual, Rev. J 284
www.seagate.com Zone Block Commands (ZBC)
4.3 FINISH ZONE command (94h/02h)
The FINISH ZONE command (see table 244) requests the device server to perform finish zone operations (see ZBC).
The device server returns the initialization pattern for all unwritten LBAs in this zone (see ZBC) in response to a read operation.
The device server may write the initialization pattern to the media for unwritten LBAs.
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 244 for the FINISH
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
finish 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). FULL, then the device server shall make no changes in the Zone Condition and not return an error; or
D). IMPLICITLY OPENED, EXPLICITLY OPENED, CLOSED, or EMPTY, then the device server shall perform a finish 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 finish zone operation (see ZBC) on each zone with a Zone Condition of
EXPLICIT OPEN, IMPLICIT OPEN, or CLOSED.
The CONTROL byte is defined in 2.2.7.
Table 244 FINISH ZONE command
Bit
Byte
7 6 5 4 3 2 1 0
0 OPERATION CODE (94h)
1 Reserved SERVICE ACTION (02h)
2 (MSB)
ZONE ID. . .
9 (LSB)
10
Reserved. . .
13
14 Reserved ALL
15 CONTROL