SCSI Commands: 28BREAD
Page
122
3.16
READ
The READ command transfers one or more bytes or blocks from the drive to the
Initiator beginning with the next block on tape.
If the Fixed bit is zero and Transfer Length is not zero, then a single block of the
length in Transfer Length is transferred. If the next block on tape is of this length or
shorter then it is transferred to the initiator. If the next block is longer than this
length, then only the length requested is returned and the logical position is set to
after the block. If the length of the block was the same as the Transfer Length field,
then good status is returned. If the length of the block was not the same as in
Transfer Length and the Suppress Invalid Length Indicator (SILI) bit was zero, then
Check Condition Status is returned. If the length of the block was not the same as in
Transfer Length and the Suppress Invalid Length Indicator (SILI) bit was one, then
Good status is returned.
If the fixed bit is one and the Transfer Length field is not zero and the Suppress
Invalid Length Indicator (SILI) bit is zero, then a sequence of blocks of the currently
configured block length is to be returned, the number of blocks being indicated in the
Transfer Length field. If there is a sequence of blocks of this length on the tape, they
are returned to the initiator with good status. If a block that is longer than the
configured length is encountered before the sequence is complete, the blocks up to
that block are returned followed by the configured length from the block that was too
long and Check Condition status. If a block that is shorter than the configured length
is encountered before the sequence is complete, the blocks up to that block are
returned followed by all of that block and Check Condition status. The current
position is set after the last block that was returned or partially returned.
If the Transfer Length field is zero and the Suppress Invalid Length Indicator and the
Fixed bit are not both set, then no action is taken.
If Suppress Invalid Length Indicator (SILI) bit is one and the Fixed bit is one, then
Check Condition status is returned. The sense key is set to Illegal Request and the
Additional Sense to Invalid Field in CDB (2400).
3.16.1
READ Command Descriptor Block
The following table shows the layout of the CDB.
Byte
Bits
7 6 5 4 3 2 1 0
0
Operation Code (08h)
1
Ignored LUN
Reserved
SILI
Fixed
2
(MSB)
3
4
Transfer Length
(LSB)
5
Control
Summary of Contents for LTO 4
Page 1: ......