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

Lto tape drive
Table of Contents

Advertisement

Page 114

SPACE

Command Descriptor Block

Field Descriptions
The Space command uses three methods to move the tape. This command moves
the position:
Forward or backward a specified number of blocks.
Forward or backward a specified number of filemarks.
Forward to the end of recorded data (EOD).
If the target block or filemark is in the buffer of the drive, no tape motion results,
otherwise, spacing is done at high search speed.
Bits
Byte
7
6
0
1
Ignored LUN
2
3
4
5
Field
Bytes
Bits
Operation
0
Code
Ignored
1
5-7
Logical
Unit
Code
1
0-2
Count
2-4
Reserved
Control
5
The Space command instructs the drive to set a new logical position relative to the
current logical position. How this is done is dependent on the value of the Code field
and the Count field. The Count field is a signed value indicating the distance to
move, negative indicating movement towards BOT and positive indicating movement
towards EOT.
If the Code field is 000b, then the logical position is moved the number of blocks
indicated by the Count field. If a file mark is detected between the current logical
position and the requested logical position, the new logical position is set to
immediately after the file mark in the direction of the space operation. If BOT or EOD
is detected before the requested logical position, then the logical position is set to
that position.
5
4
3
Operation Code (11h)
Reserved
Count, MSB
Count
Count, LSB
Control
Description
The Operation Code for Space is 11h.
The LUN field is residual from the SCSI-1 days and is ignored.
000b = Move Count blocks
001b = Move Count filemarks
011 = Move to end of recorded data (EOD)
This field specifies the number of blocks or filemarks to space over.
A positive Count moves the tape forward. A negative (2's comple-
ment) Count moves the tape backward. A zero Count causes no
media movement and is not an error. For Space to EOD operation,
this field is ignored.
All reserved bits must be 0.
See Control Byte Format on page 18.
LTO SCSI Interface Manual
2
1
0
Code

Advertisement

Table of Contents
loading

Table of Contents