User Manual
SCSI Commands Reference Manual, Rev. J 200
www.seagate.com Direct Access Block commands (SPC-5 and SBC-4)
3.41 SANITIZE command
3.41.1 SANITIZE command introduction
The SANITIZE command (see table 169) requests that the device server perform a sanitize operation. This command shall be
processed as if it has a HEAD OF QUEUE task attribute.
OPERATION CODE field
The OPERATION CODE field contains the operation code of a command supported by the logical unit and shall be set to the value defined in
Table 169.
IMMED bit
0 If the IMMED (immediate) bit is set to zero, then the device server shall return status after the sanitize operation is completed.
1 If the IMMED bit set to one, then the device server shall return status as soon as the CDB and parameter data, if any, have been validated.
The REQUEST SENSE command may be used to poll for progress of the sanitize operation regardless of the value of the IMMED bit.
ZNR bit
0 For a zoned block device, a zoned no reset (ZNR) bit set to zero specifies that as part of completing a sanitize operation, the
device server shall perform the equivalent of a RESET WRITE POINTER command
(see ZBC) with the ALL bit set to one.
1 For a zoned block device, a
ZNR bit set to one specifies that as part of completing a sanitize operation, the device server:
a) unless otherwise specified (e.g., a write pointer zone is set to offline), shall not modify the write pointer
AUSE bit
If the allow unrestricted sanitize exit (AUSE) bit is set to one, and the specified sanitize operation fails, then the device server shall process a
subsequent EXIT FAILURE MODE service action as if the previous sanitize operation had completed without error (see Completing a sanitize
operation in SBC-4).
If:
a) the AUSE bit is set to zero in the SANITIZE command that requested a sanitize operation;
b) the specified sanitize operation completes with an error; and
c) a subsequent SANITIZE command with the EXIT FAILURE MODE service action is received,
then the device sever shall terminate the command with CHECK CONDITION status with the sense key set to ILLEGAL REQUEST and the addi-
tional sense code set to INVALID FIELD IN PARAMETER LIST.
SERVICE ACTION field
The SERVICE ACTION field is defined in 2.2.2 and set to a value defined in table 170.
Table 169 SANITIZE command (48h)
Bit
Byte
7 6 5 4 3 2 1 0
0 OPERATION CODE (48h)
1 IMMED ZNR AUSE SERVICE ACTION
2
Reserved. . .
6
7 (MSB)
PARAMETER LIST LENGTH
8 (LSB)
9 CONTROL