ADSM-L

Re: SunSolaris and dlt7000 tape drives

1999-05-07 20:51:35
Subject: Re: SunSolaris and dlt7000 tape drives
From: Steven P Roder <tkssteve AT REXX.ACSU.BUFFALO DOT EDU>
Date: Fri, 7 May 1999 20:51:35 -0400
> What is IBMtape driver version that u are using . Also note down whether u 
> are able to probe the devices through probe-scsi

IBMtape is not used for DLT drives.  The mt (drive) and lb (library)
drivers are used, which are bundled into the Sun Solaris ADSM Server.

Assuming the devices are attached, can be seen via probe-scsi, a
boot -r was done, and there are entries for the correct target ID's in
mt.conf and lb.conf, you have to run the add_drv command to create the
/dev/rmt links, which are then used in the adsm define drive command.

/usr/sbin/add_drv -m '* 0666 bin bin' /usr/kernel/drv/mt
/usr/sbin/add_drv -m '* 0666 bin bin' /usr/kernel/drv/lb

It is also wise to remove the entries from /kernel/drv/st.conf for these
same target ID's.

mt.conf:
#
#       ---------------------------------------------------------
#       ADSTAR Distributed Storage Manager Server for Sun Solaris
#       Licensed Materials - Property of IBM
#       5765-303 (C) Copyright IBM Corporation 1990, 1995.
#       All rights reserved.
#       Refer to Copyright Instructions Form Number G120-2083
#       ---------------------------------------------------------
#
#       ADSM SCSI tape device driver configuration file.
#
#       This file should contain one stanza of the following form
#       for each SCSI tape drive that the ADSM server is to use:
#
#       name="mt" class="scsi"
#               target=$X$ lun=$Y$;
#
#       The $X$ string should be replaced with the SCSI ID of
#       the tape drive.  This will be a number in the range
#       0-6 (7 is reserved for the SCSI adapter and cannot be
#       used for devices), and possibly 8-15, depending on the
#       type of SCSI adapter.  The $Y$ string should be replaced
#       with the SCSI logical unit number (LUN) of the device.
#       This is usually zero.  All other fields should be left
#       as they appear in the above example.
#
#       To add a stanza, just copy the lines from the example
#       contained above, remove the '#' character from the
#       beginning of each line, and change the $X$ and $Y$
#       values to match your device.
#
name="mt" class="scsi"
        target=4 lun=0;
name="mt" class="scsi"
        target=5 lun=0;

lb.conf:
#
#       ---------------------------------------------------------
#       ADSTAR Distributed Storage Manager Server for Sun Solaris
#       Licensed Materials - Property of IBM
#       5765-303 (C) Copyright IBM Corporation 1990, 1995.
#       All rights reserved.
#       Refer to Copyright Instructions Form Number G120-2083
#       ---------------------------------------------------------
#
#       ADSM SCSI autochanger device driver configuration file.
#
#       This file should contain one stanza of the following form
#       for each SCSI autochanger that the ADSM server is to use:
#
#       name="lb" class="scsi"
#               target=$X$ lun=$Y$;
#
#       The $X$ string should be replaced with the SCSI ID of
#       the autochanger.  This will be a number in the range
#       0-6 (7 is reserved for the SCSI adapter and cannot be
#       used for devices), and possibly 8-15, depending on the
#       type of SCSI adapter.  The $Y$ string should be replaced
#       with the SCSI logical unit number (LUN) of the device.
#       This is usually zero, although for the autochanger
#       device of the IBM 7332 and the HP C1553A, it is one.
#       All other fields should be left as they appear in the
#       above example.
#
#       To add a stanza, just copy the lines from the example
#       contained above, remove the '#' character from the
#       beginning of each line, and change the $X$ and $Y$
#       values to match your device.
#
name="lb" class="scsi"
        target=6 lun=0;


Steve (unVMix Systems Programmer/Dude) Roder
(tkssteve AT ubvm.cc.buffalo DOT edu | tkssteve AT acsu.buffalo DOT edu | 
(716)645-3564 ,
   | http://ubvm.cc.buffalo.edu/~tkssteve)