Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Configuring HP-UX For Peripherals: HP 9000 Computers > Chapter 5 Configuring Magneto-Optical Devices

Magneto-Optical Disk Library Configuration Guidelines

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

This section gives information pertinent to configuring a magneto-optical disk library. If you are configuring a single magneto-optical disk, refer to the previous section, “Magneto-Optical Disk Configuration Guidelines”.

Table 5-3 “Magneto-Optical Disk Library Configuration Requirements” lists the device drivers required to configure a magneto-optical disk library to a single-ended SCSI interface for each supported architecture.

Table 5-3 Magneto-Optical Disk Library Configuration Requirements

Architecture

Interface Card

Interface and Device Drivers

Default Device Files

Series 700 [1] (core I/O only)

(internal)

ssrfc[2] schgr sdisk[3]

/dev/[r]ac/c#t#d#_#[a|b][4]

Series 800 CIO[5]

27147A

scsi2[5]

ssrfc[2] autox0 disc3[6]

(same as above)

Series 800 HP-PB[1]

28655A

scsi1[7]

ssrfc[2] autox0 disc3[6]

(same as above)

[1] The following optical disk libraries are supported on Series 700 (core single-ended SCSI only) and Series 800 HP-PB buses: C1100A, (C1150A), (C1160A), (C1170A), C1700C/T, C1704A/C/T, C1705A/C/T, C1708C/T. (Models shown in parenthesis are obsolete and are listed for reference only.)

[2] Disks in an optical disk library must be accessed through the ssrfc driver;lthey cannot be accessed directly through the SCSI disk driver (sdisk or disc3). Also see autochanger(7).

[3] Specifying schgr or sdisk causes sctl, c700, and wsio to be included in the kernel.

[4] c#t#d# derives from ioscan output: c# is the card instance for the class of interface card to which the device is attached, t# is the address of the device on the interface, d# is the device unit number. #[a|b] specifies disk platter number and surface.

[5] Specifying scsi2 causes cio_ca0 to be included automatically in the kernel.

[6] Specifying disc3 causes target to be included automatically in the kernel.

[7] Specifying scsi1 causes sio, pfail, and pa drivers to be included in the kernel.

 

Configuring HP-UX for a Magneto-Optical Disk Library

The simplest way to configure a magneto-optical disk library is to use SAM (/usr/sbin/sam). If SAM is not loaded on your system or if you prefer to use the command-line interface, the following procedure will guide you through the task. Understand the instructions before getting started.

  1. On your host computer system, invoke /usr/sbin/ioscan -fn to figure out what addresses are available on the SCSI interface to which you'll be attaching the optical disk library.

    Observe the following single-ended SCSI guidelines:

    • Each host adapter card has a maximum of seven available SCSI addresses (6-0) in order of descending priority, with address seven reserved for the host adapter.

    • The optical disk library systems (C11x0A and C17xxA/C/T) use up to five SCSI addresses — one for each of the magneto-optical disk drives and one for the autochanger mechanism.

    • Observe the maximum single-ended SCSI cable length of six meters.

  2. Using the hardware documentation as your primary source:

    • Physically set up the optical disk library (separate from the host system).

    • Assign unique SCSI addresses to each disk drive and autochanger mechanism and record the information.

    • Run the recommended tests.

  3. Consult Table 5-3 “Magneto-Optical Disk Library Configuration Requirements” to determine the device drivers needed for your magneto-optical disk library and interface. If any necessary static device driver is absent from the kernel, you will need to rebuild the kernel to include it. Here is how to do so:

    1. Change directory to the build environment (/stand/build). Execute a system preparation script, system_prep, which extracts the system file from the current kernel and writes a system file in your current directory. (That is, it creates /stand/build/system.) The -v gives verbose explanation as the script executes.

      cd /stand/build
      /usr/lbin/sysadm/system_prep -v -s system
    2. Modify the /stand/build/system file to add the absent driver(s) by invoking the kmsystem command. The -c Y specifies that driver-name is to be configured into the system.

      /usr/sbin/kmsystem -S /stand/build/system -c Y driver-name
      NOTE: To avoid introducing format errors, do not edit the HP-UX system description files directly. Instead, use the commands kmsystem and kmtune. These commands are new for Release 11.0; consult kmsystem(1M) and kmtune(1M) in the HP-UX Reference.
    3. Build the new kernel by invoking the mk_kernel command. This creates /stand/build/vmunix_test, a kernel ready for testing.

      /usr/sbin/mk_kernel -s /stand/build/system
    4. Save the old system file by moving it. Then move the new system file into place.

      mv /stand/system /stand/system.prev
      mv /stand/build/system /stand/system
    5. Prepare for rebooting by invoking the kmupdate command. This sets a flag that tells the system to use the new kernel when it restarts.

      /usr/sbin/kmupdate
  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.)

  5. Bring the system down to a halt using the shutdown command.

  6. Turn off the power to all peripheral devices and then to the SPU.

  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.

  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 autochanger).

    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>
  9. Verify the configuration by 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 autochanger displays two entries — one for the autochanger 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
    target    2  2/0/1.0    target      CLAIMED     DEVICE
    autoch    0  2/0/1.0.0  schgr       CLAIMED     DEVICE       HP      C1708C
                           /dev/ac/c0t0d0_10a   /dev/rac/c0t0d0_10a
                           /dev/ac/c0t0d0_10b   /dev/rac/c0t0d0_10b
                           /dev/ac/c0t0d0_11a   /dev/rac/c0t0d0_11a
                           /dev/ac/c0t0d0_11b   /dev/rac/c0t0d0_11b
                           /dev/ac/c0t0d0_12a   /dev/rac/c0t0d0_12a
                               ...
                           /dev/ac/c0t0d0_31b   /dev/rac/c0t0d0_31b
                           /dev/ac/c0t0d0_32a   /dev/rac/c0t0d0_32a
                           /dev/ac/c0t0d0_32b   /dev/rac/c0t0d0_32b
                           /dev/rac/c0t0d0
     
    /usr/sbin/ioscan -H 2/0/1.1.0 -fn
    Class     I  H/W Path   Driver      S/W State   H/W Type     Description
    =========================================================================
    disk      0  2/0/1.1.0  sdisk       CLAIMED     DEVICE       HP      C1716C
                           /dev/dsk/c0t1d0     /dev/rdsk/c0t1d0
    ...
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2000 Hewlett-Packard Development Company, L.P.