Locate; Command Descriptor Block - Seagate Viper 200 Scsi Interface Manual

Lto tape drive
Table of Contents

Advertisement

Page 36

LOCATE

Command Descriptor Block

Field Descriptions
The Locate command moves to a specified position on the tape.
Before the locate operation is performed, all buffered data and filemarks are
transferred to tape. On completion, the logical position is before the specified
location.
Bits
Byte
7
6
0
1
Ignored LUN
2
3
4
5
6
7
8
9
Field
Bytes
Bits
Operation
0
Code
Ignored
1
5-7
Logical
Unit
Immed
1
0
Block Ad-
3-6
dress
Reserved
Control
5
The Locate command causes the logical position on tape to be set to the value
indicated by the Block Address field. The value indicates the total number of records
and marks between BOT and the desired logical position. A value of 0 will cause the
tape to be positioned at BOT.
If the Immediate (Immed) flag is set to 1, then the drive validates the command and
waits for any previous command from any host to complete including any immediate
commands currently being processed and for any buffered data to be flushed to
tape. It will then report a deferred error for any preceding command or buffered data
if appropriate. If there is no deferred error, the drive reports good status and initiates
the command. If the Immediate (Immed) flag is set to 0, status is not returned until
after the command has completed.
5
4
3
Operation Code (2Bh)
Reserved
Reserved
Block Address, MSB
Block Address
Block Address
Block Address, LSB
Reserved
Reserved
Control
Description
The operation code for Locate is 2Bh
The LUN field is residual from the SCSI-1 days and is ignored.
0 = Status is not returned until the tape is positioned.
1 = Status is returned as soon as the operation is initiated.
The logical block address of the block to which the tape is to be po-
sitioned. Block 0 is the first block on tape. The value indicates the
total number of records and marks between BOT and the desired
logical position.
All reserved bits must be 0.
See Control Byte Format on page 18.
LTO SCSI Interface Manual
2
1
0
Immed

Advertisement

Table of Contents
loading

Table of Contents