SCSI Commands: 46BSET CAPACITY Page 208Field Bytes Bits DescriptionCapacityProportionValue3-4 This field specifies the portion of the total tape capacity to be madeavailable for use. The Capacity Proportion Value is the numerator ofa fraction with a denominator of 65535. The resulting available tapecapacity 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 / 655353.34.2 SET CAPACITY Completion StatusCode Message Description00h GoodStatusThe 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 isvalid.02h CheckConditionUse the REQUEST SENSE command to retrieve status information.Possible Sense Keys are:Code Message Description01h Recovered Error Tape capacity is rounded up to 20% of totalcapacity.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 CommandDescriptor Block is not valid.06h Unit Attention The cartridge was changed or the drive wasreset prior to this command.07h Write Protected The cartridge is write-protected.