Top
ETERNUS SFAdvancedCopy Manager 14.0 Installation and Setup Guide

D.1.1 ETERNUS LT220

This section describes how to set up the ETERNUS LT220 tape library.

Note

The SCSI-ID or LU for the robot or the drive of the ETERNUS LT library may differ depending on the model of the device or settings. For details, refer to the manual of the hardware or contact a Fujitsu Engineer (CE).

Disabling the st driver

  1. Execute the ls command to display the device file.

    # ls -l /dev/rmt/*[0-9]
    lrwxrwxrwx 1 root root 40 Feb 27 15:07 /dev/rmt/0 -> ../../devices/pci@16,2000/scsi@1/st@5,0:
    lrwxrwxrwx 1 root root 50 Feb 27 15:07 /dev/rmt/1 -> ../../devices/pci@1f,4000/FJSV,ulsa@3/st@1,0:
    ...
  2. Check the displayed device file to see if the st driver recognizes the LT220 device.

    ../../devices/pci@1f,4000/FJSV,ulsa@3/st@1,0:
                     1               2     3
    1:"devices/pci@1f,4000/FJSV,ulsa@3" = This is the physical path name that indicates where the HBA is installed.
    2:"st"= Indicates that the LT220 is controlled by the st driver
    3:"1,0"= Hexadecimal display indicating "Target ID (LOOP ID),LUN"

    From these contents, the user can find out if the physical path is an HBA connected to the LT220, check whether or not the target ID (LOOP ID) and LUN information match the LT220 drive, and find out if the LT220 drive is controlled by the st driver.

    Note

    If the LT220 is not included in the drives controlled by the st driver, steps 3 to 5 below are not required.

  3. If there are programs that access the drive, stop all those programs.

  4. If the LT220 is controlled by the st driver, comment out the target definition that corresponds to the LT220 drive in /kernel/drv/st.conf.

    Point

    To comment out the target definition, insert "#" at the start of the part that matches the target ID (LOOP ID) and LUN of the LT220 drive.

    Note

    If the server has in-built drives, ensure that you do not comment out the definitions for the in-built drives.

  5. Delete the device file of the LT220 drive that is controlled by the st driver.

    The following is an example of how to delete the device file confirmed in Step 1 and 2.

    # rm -i /dev/rmt/*
    rm: remove /dev/rmt/0 (yes/no)? n
    rm: remove /dev/rmt/0b (yes/no)? n
               :
    rm: remove /dev/rmt/1 (yes/no)? y
    rm: remove /dev/rmt/1b (yes/no)? y
               :

    Note

    When executing the rm command, be careful not to accidentally delete other files.

Robot settings

  1. Enter the Target ID of the LT220 robot in the /usr/kernel/drv/lb.conf file. Refer to the sample lb.conf file and enter the robot SCSI ID as the Target ID. In the following coding example, the SCSI ID is 0.

    #
    #       --------------------------------------------------------------
    #       IBM Tivoli Storage Manager for Sun Solaris Server
    #       Licensed Materials - Property of IBM
    #       5765-303 (C) Copyright IBM Corporation 1999.
    #       All rights reserved.
    #       Refer to Copyright Instructions Form Number G120-2083
    #       --------------------------------------------------------------
    
          :
          :
    
    name="lb" class="scsi"
            target=0 lun=0;

    Note

    In the /usr/kernel/drv/lb.conf file, the "name" value is "lb" and the "class" value is "scsi".

    For the "lun" value, check the set value for LT220 and set it accordingly.

  2. Register the lb driver.

    #/opt/tivoli/tsm/devices/bin/autoconf

IBM Tape Driver settings

Verify the Target ID and LUN ID of the drive in the /usr/kernel/drv/IBMtape.conf file. However, these values are normally set during installation and usually need not be changed. Simply check the contents.

###############################################################################
###############################################################################
##                                                                           ##
##  IBM SCSI Tape & Medium Changer Device Driver for Solaris  8, 9 and 10    ##
##                   (C) COPYRIGHT IBM Corporation, 1994 -                   ##
##                                                                           ##
##                      IBMtape.conf - Configuration File                    ##
##                   Licensed Materials - Property of IBM                    ##
##                            All Rights Reserved                            ##
##                                                                           ##
##     US Government Users Restricted Rights  -  Use, duplication, or        ##
##     disclosure restricted by GSA ADP Schedule Contract with IBM Corp.     ##
##                                                                           ##
###############################################################################
###############################################################################


# An example entry for high numbers of target and lun
# name="IBMtape" class="scsi" target=200 lun=3;

# An example entry for QLogic HBA running qla HBA driver
# name="IBMtape" parent="qla2100" target=0; # for qla2100 only
# name="IBMtape" parent="qla2200" target=0; # for qla2200 only
# name="IBMtape" parent="qla2300" target=0; # for qla2300 only

# An example entry for AMCC JNI HBA
# name="IBMtape" parent="jnic146x" target=0;

# An example entry for Emulex HBA
# name="IBMtape" parent="lpfc" target=0;

name="IBMtape" parent="pseudo" instance=16383;

name="IBMtape" class="scsi" target=0 lun=0 block_size=0 buffering=1 immediate=0 trailer=0 sili=0;
name="IBMtape" class="scsi" target=0 lun=1 block_size=0 buffering=1 immediate=0 trailer=0 sili=0;

       :
       :

name="IBMtape" class="scsi" target=255 lun=0 block_size=0 buffering=1 immediate=0 trailer=0 sili=0;
name="IBMtape" class="scsi" target=255 lun=1 block_size=0 buffering=1 immediate=0 trailer=0 sili=0;

Creating a device file

  1. Reboot the server.

    # touch /reconfigure
    # /usr/sbin/shutdown -y -i6 -g0
  2. After the server is rebooted, execute the ls command to display the device file (lb).

    # ls -l /dev/rmt/?lb
    lrwxrwxrwx 1 root root 40 2 month 27 day 15:07 /dev/rmt/0lb -> ../../devices/pci@16,2000/scsi@1/st@5,0:
    lrwxrwxrwx 1 root root 51 2 month 27 day 16:50 /dev/rmt/1lb -> ../../devices/pci@1f,4000/FJSV,ulsa@3/lb@0,0:lb
    #
  3. Check the displayed device file to see if the lb driver recognizes the LT220 robot.

    ../../devices/pci@1f,4000/FJSV,ulsa@3/lb@0,0:lb
                      1               2  3
    1: "devices/pci@1f,4000/FJSV,ulsa@3" = This is the physical path name that indicates where the HBA is installed.
    2: "lb" = Indicates that the LT220 is controlled by the lb driver
    3: "0,0" = Hexadecimal display indicating "Target ID (LOOP ID),LUN"

    From these contents, the user can find out if the physical path is an HBA connected to the LT220, check whether or not the target ID (LOOP ID) and LUN information match the LT220 robot, and find out if the LT220 robot is controlled by the lb driver.

  4. Execute the ls command to display the device file (st).

    # ls -l /dev/rmt/?st
    lrwxrwxrwx 1 root root 56 2 month 27 day 16:50 2st -> ../../devices/pci@1f,4000/FJSV,ulsa@3/IBMtape@1,0:st
    #
  5. Check the displayed device file to see if the IBM tape driver recognizes the LT220 drive.

    ../../devices/pci@1f,4000/FJSV,ulsa@3/IBMtape@1,0:st
                      1                 2     3
    1:"devices/pci@1f,4000/FJSV,ulsa@3" = This is the physical path name that indicates where the HBA is installed.
    2:"IBMtape" = Indicates that the LT220 is controlled by the IBM tape driver
    3:"1,0" = Hexadecimal display indicating "Target ID (LOOP ID),LUN"

    From these contents, the user can find out if the physical path is an HBA connected to the LT220, check whether or not the target ID (LOOP ID) and LUN information match the LT220 drive, and find out if the LT220 drive is controlled by the IBM tape driver.