Configuring HP-UX For Peripherals
Chapter 6 179
Configuring Magneto-Optical Devices
Magneto-Optical Disk Library Configuration Guidelines
Step 4. Notify users that the system will be shut down to configure the optical
disk library. You can use the wall command and/or the interactive
capabilities of the shutdown command to broadcast a message to users
before the system goes down. (See wall (1M) or shutdown (1M) in the
HP-UX Reference.)
Step 5. Bring the system down to a halt using the shutdown command.
Step 6. Turn off the power to all peripheral devices and then to the SPU.
Step 7. Attach the optical disk library to the host computer system, following the
instructions and using the cabling recommended in the hardware
documentation. Make sure the last device in the SCSI chain is
terminated.
Step 8. Turn on the power to all peripheral devices, including the optical disk
library. Wait for the peripheral devices to become ready, then turn on
power to the SPU.
On booting up, HP-UX detects the optical disk library and associates it
with its device drivers. insf creates the character and block device
special (/dev) files required to communicate with each disk surface in
the optical disk library. By default, insf creates device special files for 32
optical disks (64 device special files for the surfaces plus a device special
file for the auto changer).
If you are configuring a larger-capacity magneto-optical library system,
you will need to create device files for the remaining slots. To do so,
execute the following command:
/usr/sbin/insf -e -p <
first_optical disk
:
last_optical disk
>-H
<
H/W_path
>
Step 9. Verify the configurationby invoking the ioscan command on the address
to which the disk library was configured.
As shown in excerpted output run on a Series 700, a magneto-optical
auto changer displays two entries — one for the auto changer mechanism
(in this case, C1708C) and one for the disk mechanism (C1716C) — each
with its own set of block and character device special files.
/usr/sbin/ioscan -H 2/0/1 -fn
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
...
ext_bus 0 2/0/1 c700 CLAIMED INTERFACE Built-in SCSI