Oracle Solaris operating systems

Configuring Tivoli Storage Manager device drivers for vendor acquired SCSI-attached devices

You can configure Tivoli® Storage Manager device drivers in two different ways. If you must selectively configure attached devices, you can run individual commands for tape drives and libraries. Or, you can use the auto configuration command to configure all devices that are attached to your system.

About this task

If you are configuring a tape library, you must set up device drivers for both the drives in the library and the library itself.

Restriction: Tivoli Storage Manager /mt device drivers do not support the Oracle Solaris mt command.
To install the Tivoli Storage Manager device drivers for tape drives and libraries, complete the following steps:
  1. Ensure that the devices are connected to the system and powered on and active.
  2. Ensure that the device driver package (TIVsmSdev) is installed.
  3. Edit the following files:
    • For tape drives: /usr/kernel/drv/mt.conf
    • For libraries: /usr/kernel/drv/lb.conf

    Add one stanza (as shown in the example at the top of the file) to the device configuration file for each device's SCSI target ID LUN combination or WWN of the port to which the device is attached. This allows the device driver to probe the system that you want to use for supported devices. For more information about editing configuration files, see Editing configuration files.

  4. Log in as root user.
    To add all devices, enter the following command:
    > /opt/tivoli/tsm/devices/bin/autoconf
    Or to add a single device type, use the following commands.
    • To add a tape drive, enter the following command:
      > /usr/sbin/add_drv -v -m '* 0666 bin bin' mt
    • To add a library, enter the following command:
      > /usr/sbin/add_drv -v -m '* 0666 bin bin' lb
  5. Determine the special file names:
    • For tape drives, the device special files are saved in the /dev/rmt directory. Their names have the form /dev/rmt/xmt, where x is a number. To determine the relationship between a physical device and the special file that was created for it, issue the following command:
      > ls -l /dev/rmt/*mt
      The output shows that the special file is really a symbolic link into the /devices tree of the file system. The symbolic link destination has the form/devices/.../mt@x,0:mt, where x is the SCSI ID of the device. You can use this information to know which of the /dev/rmt/xmt special file names to provide to the server when you issue a DEFINE PATH command.
    • For tape libraries, the device special files are displayed in the /dev/rmt directory. Their names have the form /dev/rmt/xlb, where x is a number. To determine the relationship between a physical device and the special file that was created for it, issue the following command:
      > ls -l /dev/rmt/*lb
      The output shows that the special file is really a symbolic link into the /devices tree of the file system. The symbolic link destination has the form /devices/.../lb@x,y:lb, where x is the SCSI ID of the device and where y is the LUN (logical unit number) of the device. You can use this information to know which of the /dev/rmt/xlb special file names to provide to the server when you issue a DEFINE PATH command.