Page
110
LTO SCSI Interface Manual
REWIND
The Rewind command requests that the medium be positioned to the Beginning Of
Tape (BOT). Prior to performing the Rewind operation, the buffered data and
filemarks are written to the tape, and an EOD marker is recorded. The Rewind
operation is done at high speed.
Command Descriptor Block
Byte
Bits
7
6
5
4
3
2
1
0
0
Operation Code (01h)
1
Ignored LUN Reserved
Immed
2
Reserved
3
Reserved
4
Reserved
5
Control
Field Descriptions
Field
Bytes
Bits
Description
Operation
Code
0
The Operation code for Rewind is 01h.
Ignored
Logical
Unit
1
5-7
The LUN field is residual from the SCSI-1 days and is ignored.
Immed
1
0
Immediate bit:
0 = Status is not returned the rewind operation has completed.
1 = Status is returned as soon as all buffered data and filemarks
have been written to the medium and the Rewind CDB has
been validated.
Reserved
All reserved bits must be 0.
Control
5
See Control Byte Format on page 18.
If Check Condition status is returned from Rewind command with the Immed bit set
to 1, then the rewind operation is not performed.
Completion Status
Code
Message
Description
00h
Good
Status
•
The drive is ready to perform any appropriate command.
•
The drive remains in any previously set mode.
•
The tape position is BOT (if not an Immediate command).
Note: If IMMED is one, then Good Status only indicates that all buffered data
and filemarks have been written to the medium and that the Rewind CDB is
valid.
02h
Check
Condition
Use the Request Sense command to retrieve status information. Possible
Sense Keys are:
Code
Message
Description
02h
Not Ready
No cartridge is in the drive.
03h
Media Error
Unrecoverable data error encountered.
04h
Hardware Error
Parity error on the SCSI bus or drive hardware
failure.
05h
Illegal Request
The Command Descriptor Block is invalid.