REWIND | 01h |
REWIND causes the drive to write all buffered logical objects to tape and then positions the tape at BOM (beginning of media). Once a rewind is started, it will complete even if the SCSI operation is aborted (for example, if the host selects and sends an abort message).
Illegal Field | Reservation | Deferred Error |
Unit Attention | Media Access | Diagnostic Status |
Command descriptor block:
|
| 7 | 6 | 5 |
| 4 |
| 3 | 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
|
| |
| 0 |
|
|
|
| Operation | Code (01h) |
|
|
| |
|
|
|
|
|
|
|
|
|
| ||
| 1 |
|
|
| Reserved (0) |
|
|
| Immed | ||
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Reserved (0) |
|
|
|
| ||
| 4 |
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| |
| 5 |
|
|
|
| Control |
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
CDB fields:
Immed 0 Status is returned after the rewind has completed.
1The drive first writes any unwritten buffered data to tape. It then returns GOOD status to the host before beginning the actual rewind operation.
Rewind specific status:
If the rewind is successful, unsolicited positional sense will indicate that the tape is at BOM by the EOD bit being set and an additional sense code of 0004h (BOP).
166 Commands