Procedure 2
Use this procedure for IBM 3590/7332 and other tape libraries. This procedure uses IBM’s Atape device driver to drive the tape library media changer.
Use lslpp -l Atape.driver to check if Atape is loaded.
If Atape is not loaded, use installp -acXd /dev/rfd0 Atape.driver to install the Atape driver from the diskette shipped with the device. For details, see the IBM manual, SCSI Tape Drive, Media Changer, and Library Device Driver Installation and User’s Guide. To install the copy of Atape (Atape.2.6.0.4.bin or another version) shipped with DPX, use the command:
installp -acXd <pathname>/Atape.2.6.0.4.bin Atape.driver
Assign the media changer. There are two ways to accomplish this:
Use the command /usr/sbin/cfgmgr, which assigns all the attached devices.
Use smit tapes to start SMIT. Do the following:
From the Tape Drive Menu, choose the Add a Tape Drive.
Add the appropriate device (IBM 3590, 7332, 7331, or 7336).
From the Selection Menu and the “Select the appropriate SCSI adapter card,” an entry displaying the connection address for the device can be found. The address format on AIX 3 and AIX 4 is TL and T, L respectively, where T refers to the SCSI ID, and L to the logical unit number (LUN) for the tape library media changer. Furthermore, make sure to disable autoloading at end-of-tape, and in the case of the IBM 3590, enable random mode to emulate autoloader tape drive.
Note. For the IBM 3590/7332, the device file for the media changer is of the format /dev/rmt*.smc
, while for the IBM 7331/7336 tape library class it is /dev/smc*
.
After device assignment finishes, run detect -q to double check that the media changer has a device file assigned to it.
This concludes the installation of the tape library media changer device file under AIX. Proceed to Chapter 36: Tape Library Verification to test the tape library installation. Use the media changer device file name (for example, /dev/rmt*.smc
) as the argument for the tape library interface test program (JItest).
Last updated