SCSI Commands: 46BSET CAPACITY
Page
208
Field
Bytes
Bits
Description
Capacity
Proportion
Value
3-4
This field specifies the portion of the total tape capacity to be made
available for use. The Capacity Proportion Value is the numerator of
a fraction with a denominator of 65535. The resulting available tape
capacity is equal to the total tape capacity multiplied by this fraction.
The drive rounds up the capacity to the next higher supported value.
Reserved
All reserved bits must be 0.
Control 5
See
SCSI Command Control Byte Format on page 25.
The SET CAPACITY command sets the available tape capacity to:
Tape Capacity = Total Tape Capacity
×
Capacity Proportion Value / 65535
3.34.2
SET CAPACITY Completion Status
Code Message Description
00h
Good
Status
The drive is ready to perform any appropriate command.
The drive remains in any previously set mode.
The tape position is at BOM.
Data on tape is logically inaccessible.
Note: If IMMED is one, then Good Status only indicates that the command is
valid.
02h
Check
Condition
Use the REQUEST SENSE command to retrieve status information.
Possible Sense Keys are:
Code Message
Description
01h
Recovered Error
Tape capacity is rounded up to 20% of total
capacity.
02h
Not Ready
No cartridge is in the drive.
04h
Hardware Error
Drive hardware failure detected.
05h
Illegal Request
The tape is not at BOM or the Command
Descriptor Block is not valid.
06h
Unit Attention
The cartridge was changed or the drive was
reset prior to this command.
07h
Write Protected
The cartridge is write-protected.
Содержание LTO 4
Страница 1: ......