Administrator's Guide


Installing Device Drivers

For ADSM to use a device, you must install the appropriate device driver.

IBM tape drives, tape autochangers, and tape libraries
Install the IBMtape device driver. See "Installing Device Drivers for IBM 3490, 3570, and 3590 Tape Drives", "Installing Device Drivers for IBM 349X Libraries", and IBM SCSI Device Drivers: Installation and User's Guide.

Non-IBM tape drives and tape autochangers
You must ensure that you have installed the ADSM device drivers. When you install ADSM, you must choose whether to install the ADSM device drivers for tape and tape autochanger devices.

Optical devices
Install the ADSM device drivers.

Before You Start: Names for Devices

To identify and work with removable media devices, ADSM needs the device's special file name.

When a device configures successfully, a logical file name is returned in the form of opx, mtx, or lbx, where x is a numerical value that indicates the instance of a device for a particular class.

During configuration, a device special file name is created as one of the following. In this table, x denotes any integer of 0-9:
Special File Name Description
/dev/mtx Used by all ADSM-supported tape drives (not supported by IBM hardware device drivers)
/dev/lbx Used by most ADSM-supported SCSI libraries
/dev/ropx Used by all ADSM-supported optical drives
/dev/rmtx Used by the GENERICTAPE device type
/dev/rmtx.smc Used by 3570 and 3575 libraries, and used to define the Automatic Cartridge Facility feature of the IBM 3590 B11 as a library
/dev/lmcpx Used by 349X automatic tape libraries

The following are examples of special file names:

Table 4. Examples of Device Special File Names
If the logical file name is: The device special file name is:
mt3 /dev/mt3
lb0 /dev/lb0
op1 /dev/rop1
rmt1 /dev/rmt1
rmt1

Medium changer: (3590 B11 ACF, 3570, and 3575)/dev/rmt1.smc

lmcp0 /dev/lmcp0
Note:You must know the device special file name when you use the DEFINE DRIVE or DEFINE LIBRARY commands. The special file name is the value that you specify with the DEVICE= parameter. You can use the SMIT tool to get the device special file.

Installing Device Drivers for IBM 3490, 3570, and 3590 Tape Drives

For IBM 3490, 3570, and 3590 devices, see IBM SCSI Device Drivers: Installation and User's Guide for how to install the device drivers.

After completing the procedure in the manual, you receive a message from the system:

Installing Device Drivers for IBM 349X Libraries

For an IBM 3494 or 3495 Tape Library Dataserver, refer to either IBM SCSI Tape Drive, Medium Changer, and Library Device Drivers or IBM AIX Parallel and ESCON Channel Tape Attachment/6000 Installation and User's Guide.

After completing the procedure in the manual, you will receive a message (logical filename) of the form:

lmcpx Available

where x is a number assigned automatically by the system. Use this information to complete the Device Name field on your worksheet.

For example, if the message is lmcp0 Available, enter /dev/lmcp0 on the worksheet in the Device Name field for the library. Always use the /dev/ prefix with the name provided by the system.

Configuring an Autochanger or a Robot Device Driver for a Library

Use the procedure in this section to configure ADSM device drivers for autochangers and robot devices, excluding IBM 3494 and IBM 3495 tape libraries. See "Installing Device Drivers for IBM 349X Libraries" for the IBM 3494 and 3495 tape libraries.

The term robot is defined as a device that performs programmed operations or that operates by remote control.

Run the SMIT program to configure the device driver for each autochanger or robot:

  1. Select Devices.

  2. Select ADSM Devices.

  3. Select Library/MediumChanger.

  4. Select Add a Library/MediumChanger.

  5. Select the ADSM-SCSI-LB for any ADSM supported library.

  6. Select the parent adapter to which you are connecting the device. This number is listed in the form: 00-0X, where X is the slot number location of the SCSI adapter card.

  7. When prompted, enter the CONNECTION address of the device you are installing. The connection address is a two-digit number. The first digit is the SCSI ID (the value you recorded on the worksheet). The second digit is the device's SCSI logical unit number (LUN), which is usually zero, unless otherwise noted.

    For example, a connection address of 40 has a SCSI ID=4 and a LUN=0. If you are using AIX Version 4.1, then a connection address of 4,1 has a SCSI ID=4 and LUN=1. You need a comma (,) between the SCSI ID and the LUN.

  8. Click on the DO button.

    You will receive a message (logical filename) of the form lbX Available. Note the value of X, which is a number assigned automatically by the system. Use this information to complete the Device Name field on your worksheet.

    For example, if the message is lb0 Available, the Device Name field is /dev/lb0 on the worksheet. Always use the /dev/ prefix with the name provided by SMIT.

Configuring a Device Driver for a Tape or an Optical Drive for Use by ADSM

Use the procedure in this section to configure ADSM device drivers for tape or optical drives, excluding IBM 3490, 3570, and 3590 tape drives. See "Installing Device Drivers for IBM 3490, 3570, and 3590 Tape Drives".

Attention: ADSM cannot write over tar or dd tapes, but tar or dd can write over ADSM tapes.

Note:Tape drives can be shared only when the drive is not defined to ADSM or ADSM is not started. The mksysb command will not work if both ADSM and AIX are sharing the same drive or drives. To use the operating system's native tape device driver in conjunction with a SCSI drive, the device must be configured to AIX first and then configured to ADSM. See your AIX documentation regarding these native device drivers.

Run the SMIT program to configure the device driver for each drive (including drives in libraries) as follows:

  1. Select Devices.

  2. Select ADSM Devices.

  3. Select Tape Drive or Optical R/W Disk Drive, depending on whether the drive is tape or optical.

  4. Select Add a Tape Drive or Add an Optical Disk Drive, depending on whether the drive is tape or optical.

  5. Select the ADSM-SCSI-MT for any ADSM-supported tape drive or ADSM-SCSI-OP for any ADSM-supported optical drive.

  6. Select the adapter to which you are connecting the device. This number is listed in the form: 00-0X, where X is the slot number location of the SCSI adapter card.

  7. When prompted, enter the CONNECTION address of the device you are installing. The connection address is a two-digit number. The first digit is the SCSI ID (the value you recorded on the worksheet). The second digit is the device's SCSI logical unit number (LUN), which is usually zero, unless otherwise noted.

    For example, a connection address of 40 has a SCSI ID=4 and LUN=0. If you are using AIX Version 4.1, then a connection address of 4,1 has a SCSI ID=4 and LUN=1. You need a comma (,) between the SCSI ID and the LUN.

  8. Click on the DO button.

    The message you receive next depends on whether you are configuring the device driver for a tape or an optical device:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]