Specifications

ATAPI For Streaming Tape QIC-157 Rev B
43
6.8.1. Erase Command
The ERASE command causes part or all of the medium to be erased beginning at the current position.
As used here, “erased” means either the medium shall be erased or a pattern shall be written on the
medium that appears as a gap.
Table 6-5 Erase Command
Bit
Byte
7 6 5 4 3 2 1 0
0 Operation code (19h)
1 Reserved Reserved
(Immed)
1 (Long)
2 Reserved
3 Reserved
4 Reserved
5 Reserved
6 Reserved
7 Reserved
8 Reserved
9 Reserved
10 Reserved
11 Reserved
Some Devices may reject an ERASE command if not at beginning-of-partition.
Table 6-6 Recommended Sense Key, ASC and ASCQ for ERASE Errors
Sense Key ASC ASCQ Description of Error
02 04 00 NOT READY, CAUSE NOT REPORTABLE
02 3A 00 MEDIUM NOT PRESENT
03 51 00 ERASE FAILURE (FORMAT FAILURE)
05 20 00 INVALID COMMAND OPERATION CODE
05 24 00 INVALID FIELD IN COMMAND PACKET
06 28 00 NOT READY TO READY TRANSITION
06 29 00 POWER ON, RESET, OR ATAPI SOFT RESET OCCURRED
06 2A 01 MODE PARAMETERS CHANGED
07 27 00 WRITE PROTECTED