
Configuring Tape Drives
This sample output shows that SCSI controller 1 (00-01) has been assigned the
logical identifier scsi0.
scsi0 Available 00-01 SCSI I/O Controller
2. Display the SCSI device files that have already been created by using one of the
following commands:
/usr/sbin/lsdev -C -s scsi
/usr/sbin/lsdev -C -s fcp
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
This example output shows that two disk drives and one tape drive exist as follows:
◆ hdisk0 is a disk drive at controller 1 (00-01) and SCSI ID 0 (0,0)
◆ hdisk1 is a disk drive at controller 1 (00-01) and SCSI ID 1 (1,0)
◆ rmt0 is a tape drive at controller 1 (00-01) and SCSI ID 3 (3,0)
If the device files for the SCSI tape drives exist, they appear in the output as rmt0,
rmt1, and so on. The previous example output shows rmt0.
For rmt0 and rmt1, you would use the following no rewind on close device files:
/dev/rmt0.1
/dev/rmt1.1
3. If the device files for the SCSI ID of the desired tape drive do not exist, create them
using the following command:
/usr/sbin/mkdev -c tape -s scsi -t ost -p
controller
-w
id
,
lun
Where:
◆ controller is the logical identifier of the SCSI adapter for the device, such as scsi0
or scsi1.
◆ id is the SCSI ID of the drive connection.
◆ lun is the logical unit number of the drive connection.
An example for an 8-mm drive connected to controller 0 and SCSI ID 5 follows:
mkdev -c tape -s scsi -t ost -p scsi0 -w 5,0
Chapter 3, IBM AIX 41
Comentarios a estos manuales