Table of ContentsLibraryView in Frames

The format of the tape configuration file

The /etc/tape_config directory contains a sample tape configuration file. This file includes the details of the requirements for a tape configuration file, a list of the default SCSI command timeout values used by the tape drive, and an example of a tape configuration file.

The following table displays the format of the tape configuration file.

Item Size Description
vendor_id (string) up to 8 bytes The vendor ID as reported by the SCSI Inquiry command.
product_id (string) up to 16 bytes The product ID as reported by the SCSI Inquiry command.
id_match_size (number)   The number of bytes of the product ID to be used for matching to detect the tape drive to be identified, beginning with the first character of the product ID in the Inquiry data.
vendor_pretty (string) up to 16 bytes If this parameter is present, it is specified by the string displayed by sysconfig -v or sysconfig -t; otherwise, INQ_VENDOR_ID is displayed.
product_pretty (string) up to 16 bytes If this parameter is present, it is specified by the string displayed by sysconfig -v or sysconfig -t; otherwise, INQ_PRODUCT_ID is displayed.
Note: The vendor_pretty and product_pretty fields are optional, but if one of these fields has a value, the other must also have a value.
The description, density code, and compression algorithm for l, m, h, and a, are described in the following table.
Item Size Description
{l | m | h | a}_description= (string) up to 16 bytes The string to print for sysconfig -t that describes characteristics of the particular density setting.
{l | m | h | a}_density= (hex codes)   The density code to be set in the SCSI mode page block descriptor corresponding to the desired density code for l, m, h, or a.
{l | m | h | a}_algorithm= (hex codes)   The compression algorithm to be set in the SCSI Compression Mode Page corresponding to the density code and the desired density characteristic.

The optional fields available in the tape configuration file are described in the following table.

Field Description
autoload= (Boolean yes/no) Set this field to yes if the tape drive has an automatic loading feature; that is, after you insert a tape cartridge, the tape drive becomes ready without the need to execute a SCSI load (start/stop unit) command. The default for this field is "no".
cmd_timeout_0x Individual timeout value. Use this field only if you want to specify a different timeout value from the one being used as a default by the tape driver. The sample file lists the default SCSI command timeout values used by the tape driver. The timeout value can be expressed in minutes (m), seconds (s), or milliseconds (ms).