For ADSM to use a device, you must install the appropriate device driver.
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. |
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:
rmtx Available
where x is a number. Note the value of x, which is assigned automatically by the system. Use this information to complete the Device Name field on the worksheet.
For example, if the message is rmt0 Available, the special file name for the device is /dev/rmt0. Enter /dev/rmt0 in the Device Name field for the drive on the worksheet. Always use the /dev/ prefix with the name provided by the system.
rmtx Available
Note the value of x, which is assigned automatically by the system. The special file name for the drive is /dev/rmtx. The special file name for the media changer device (what ADSM considers a library) is /dev/rmtx.smc. (The filetype smc stands for SCSI media changer.)
For example, if the message is rmt0, enter /dev/rmt0 in the Device Name field for the drive. Enter /dev/rmt0.smc in the Device Name field on the worksheet for the library's robotics. Always use the /dev/ prefix with the name provided by the system.
Note: | For multidrive devices (for example, IBM 3570 Model B12 or B22, or IBM 3575), you need only one rmtx.smc. Although you will receive a .smc for each rmt device in the library, you need only one smc for the ADSM library on the worksheet. |
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.
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:
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.
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.
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:
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.
The message you receive next depends on whether you are configuring the device driver for a tape or an optical device:
For example, if the message is mt0 Available, the Device Name field is /dev/mt0 on the worksheet. Always use the /dev/ prefix with the name provided by SMIT.
For example, if the message is op0 Available, the Device Name field is /dev/rop0 on the worksheet. Always use the /dev/r prefix with the name provided by SMIT.