Rewind; Command Descriptor Block; Completion Status - Seagate Viper 200 Scsi Interface Manual

Lto tape drive
Table of Contents

Advertisement

Page 110

REWIND

Command Descriptor Block

Field Descriptions

Completion Status

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.
Bits
Byte
7
6
0
1
Ignored LUN
2
3
4
5
Field
Bytes
Operation
0
Code
Ignored
1
Logical
Unit
Immed
1
Reserved
Control
5
If Check Condition status is returned from Rewind command with the Immed bit set
to 1, then the rewind operation is not performed.
Code
Message
Description
• The drive is ready to perform any appropriate command.
00h
Good
• The drive remains in any previously set mode.
Status
• 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
Use the Request Sense command to retrieve status information. Possible
Condition
Sense Keys are:
Code
02h
03h
04h
05h
5
4
3
Operation Code (01h)
Reserved
Reserved
Reserved
Reserved
Control
Bits
Description
The Operation code for Rewind is 01h.
5-7
The LUN field is residual from the SCSI-1 days and is ignored.
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.
All reserved bits must be 0.
See Control Byte Format on page 18.
Message
Description
Not Ready
No cartridge is in the drive.
Media Error
Unrecoverable data error encountered.
Hardware Error
Parity error on the SCSI bus or drive hardware
failure.
Illegal Request
The Command Descriptor Block is invalid.
LTO SCSI Interface Manual
2
1
0
Immed

Advertisement

Table of Contents
loading

Table of Contents