
Configuring Optical Disk Drives
Examples of Optical Disk Device Files
Assume the device files for the desired optical disk drive (controller 1, SCSI ID 5) do not
yet exist.
1. Determine the logical identifier for the SCSI controller as follows:
/usr/sbin/lsdev -C -c adapter | grep SCSI
The output shows that scsi0 is the logical name for SCSI controller 1.
scsi0 Available 00-01 SCSI I/O Controller
2. Check to see if the device files exist for ovpass at SCSI ID 5.
/usr/sbin/lsdev -C -s scsi
The output shows that some device files exist for tape and disk, but not for the optical
disk drive at controller 1 (scsi0) and SCSI ID 5 (5,0).
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
3. Create device files for the optical disk drive on controller 1 at SCSI ID 5 by using the
following command:
mkdev -c disk -t osdisk -s scsi -p scsi0 -w 5,0
4. Display the device files by issuing the 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
hdisk2 Available 00-01-00-5,0 Other SCSI Disk Drive
5. Enter the following character device file path to configure the optical disk drive
connected to controller 1 and SCSI ID 5:
/dev/rhdisk2
Chapter 3, IBM AIX 47
Kommentare zu diesen Handbüchern