
Configuring Tape Drives
3. Create the desired device files by using the following command:
mkdev -c tape -t ost -s scsi -p scsi0 -w 5,0
4. Display the device files by issuing the following lsdev command:
/usr/sbin/lsdev -C -s scsi
hdisk0 Available 00-01-00-0,0 400 MB SCSI Disk Drive
hdisk1 Available 00-01-00-1,0 400 MB SCSI Disk Drive
rmt0 Available 00-01-00-3,0 Other SCSI Tape Drive
rmt1 Available 00-01-00-5,0 Other SCSI Tape Drive
5. To ensure that the tape device is configured for variable-mode and extended file
marks, use the following commands:
chdev -l rmt1 -a block_size=0
chdev -l rmt1 -a extfm=yes
Enter the following device file path to configure the 8-mm drive connected to
controller 1 and SCSI ID 5:
/dev/rmt1.1
Using Multiple Tape Densities
After creating the necessary device files for your tape drives you may want to use
non-default densities on drives that support them (for example, Exabyte 8500C tape
drives).
There are two configurable densities available for all tape drives, although not all tape
drives support multiple densities. The default density for both density setting 1 and
density setting 2 is 0, which means maximum density.
To modify either of the density settings, you can use smit(1) or commands similar to the
following:
chdev -l
tapedev
-a density_set_1=
Density
chdev -l
tapedev
-a density_set_2=
Density
Where:
◆ tapedev is the logical identifier for the drive, such as rmt0 or rmt1.
◆ Density is the decimal number representing the desired density.
Chapter 3, IBM AIX 43
Kommentare zu diesen Handbüchern