![background image](http://html1.mh-extra.com/html/quantum/lto-4/lto-4_user-manual_3834212220.webp)
SCSI Commands: 48BSPACE
Page
212
EOD is detected before the requested logical position, then the logical position is set
to that position.
If the Code field is 001b, then the logical position is moved the number of file marks
indicated by the Count field. If BOM or EOD is detected before the requested logical
position, then the logical position is set to that position.
If the Code field is 011b, then the logical position is set to after the last valid block on
tape. In this case the count field is ignored.
Any other value of the Code field will cause Check Condition status to be returned.
Spacing to sequential file marks is not supported. Set marks are not supported. The
Sense Key is set to Illegal Request and the Additional Sense is set to Invalid field in
CDB (2400).
3.36.2
Space-by-Count Functions
The Count field indicates both direction and number of blocks or filemarks to space
over from the current logical position. A positive value N in the Count field moves the
tape forward over N blocks or filemarks. A negative value -N (2's complement) in the
Count field moves the tape backward over N blocks or filemarks. Zero in the count
field causes no tape movement and is not considered an error.
When there are no exception conditions during space functions, forward tape motion
ends on the EOM side of the last block or filemark and reverse motion ends on the
BOM side of the last block or filemark.
If a filemark is encountered while spacing over blocks, a Check Condition Status is
returned. The Sense FM bit is set and the Sense Valid bit is set, indicating Residual
Length is non-zero.
The Residual Length equals the difference in the requested count and the actual
number of blocks spaced over not including the filemark. The tape is positioned on
the logical EOM side of the filemark if movement was forward or on the logical BOM
side of the filemark if movement was reverse.
If EOD is encountered while spacing forward, Check Condition is returned with 08h
Sense Key. Extended Sense Valid bit is set, indicating Residual Length is nonzero.
If BOM is encountered while spacing in reverse, Check Condition is returned with
40h Sense Key. Extended sense Valid bit is set, indicating a nonzero Residual
Length.
If EOM is encountered while spacing forward, Check Condition is returned with 40h
or 43h Sense Key. Extended Sense Valid bit is set, indicating a nonzero Residual
Length.
If an unrecoverable data error is encountered, Check Condition is returned,
Extended Sense Key is set to Medium Error, and Extended Sense Valid bit is set,
indicating Residual Length is nonzero.
Summary of Contents for LTO 4
Page 1: ......