There is a TechNote on the TSM support site, called: "Using lbtest with a scsi attached library to determine element numbers" (ref # 1051153)
I have used it with L20 and L25 libraries to determine the element numbers, and it seems to work ok. Normally I just try to guess first, since my libraries have only two drives and the element numbers are usually (but not always) 1 and 2. If my first two guesses fail, I go to lbtest. Loren Cain Digicon -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Geetha Thanu Sent: Monday, February 14, 2005 3:00 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: configuring Non-IBM automated library(SUN) in TSM Hello all, I have successfully defined the path of SUN storEdge L1000 library as per the procedure given by Andreas (by deleting solaris defined driver and installing lb). But now I face problem in defining the Automated library itself because the ELEMENT NO is not known. If i give Element=Autodetect it is defining drive but when i give the path it is again asking for element no. can anybody say where i can know about the element address details.. waiting for ur reply.. thanks Geetha Thanu ---------REPLY TO------------- Date:Thu Feb 03 18:54:16 GMT+08:00 2005 FROM: Andreas Almroth <[EMAIL PROTECTED]> To: ADSM-L@VM.MARIST.EDU Subject: Re: configuring Non-IBM automated library(SUN) in TSM Hi, Well, the device links looks a bit strange. You have links to both Sun's st driver as well as IBM's lb driver. The only usable path would be /dev/rmt/3lb. You list; "ANR8840E Unable to open device /dev/rmt/0lbB with error 2." I take /dev/rmt/0lbB is a typo, as it should have been /dev/rmt/0lb, or? What does the lb driver attach say in /var/adm/messages? Has it found the library device and bound to it? Is it attached to SAN or SCSI? If connected using SAN, can you see the library using cfgadm -al -o show_FCP_dev? If not, you may have to configure the zones on the SAN switch. You could also try to start from the beginning and remove all links (rm /dev/rmt[0123]lb), and if the system does not use other tape devices or other generic SCSI devices linked through the generic SCSI driver (sgen) you could try to remove the kernel modules form them as well (at your own risk! don't blame me if the system stops); rem_drv mt rem_drv lb rem_drv st rem_drv sgen Then re-attach the IBM modules; add_drv -m '* 0666 bin bin' /usr/kernel/lb add_drv -m '* 0666 bin bin' /usr/kernel/mt This should give you only devices in /dev/rmt provided by the IBM drivers. Test the devices with lbtest and mttest using the /dev/rmt/* devices. Test programs should be installed in /opt/tivoli/tsm/devices/bin. /A Mrs. Geeta Thanu wrote: >Hello Andreas, > >sorry for not giving full details... >I have installed tivoli 5.3 in sun E3500(solaris 8) which is attached to >sun's L1000 automated library with 2 drives. > >As per the documentation i have included the target and LUN as recognised >by the server for the library as target=0 and LUN=0 in lb.conf and added >the library using add_drv command. > > >It was added with out any problem.the following are the files seen in >/dev/rmt > > > >>ls -l *lb >> >> >lrwxrwxrwx 1 root root 51 Oct 18 16:06 0lb -> >../../devices/[EMAIL PROTECTED],0/SUNW,[EMAIL PROTECTED],8800000/[EMAIL >PROTECTED],0:lb >lrwxrwxrwx 1 root root 49 Oct 18 16:06 1lb -> >../../devices/[EMAIL PROTECTED],0/QLGC,[EMAIL PROTECTED],10000/[EMAIL >PROTECTED],0:lb >lrwxrwxrwx 1 root root 49 Oct 18 16:06 2lb -> >../../devices/[EMAIL PROTECTED],0/QLGC,[EMAIL PROTECTED],10000/[EMAIL >PROTECTED],0:lb >lrwxrwxrwx 1 root other 49 Feb 3 12:00 3lb -> >../../devices/[EMAIL PROTECTED],0/QLGC,[EMAIL PROTECTED],10000/[EMAIL >PROTECTED],0:lb > >when I try to define a path by giving /dev/rmt/0lb or 1lb or 2lb or 3lb >I am getting the following error > >ANR8840E Unable to open device /dev/rmt/0lbB with error 2. > ANR8418E DEFINE PATH: An I/O error occurred while > accessing library L1000 > >Please help me to find out what I am doing wrong.. > >Thanks >Geetha > > > > > > > >On Thu, 3 Feb 2005, Andreas Almroth wrote: > > > >>Geetha Thanu wrote: >> >> >>>Hi all, >>> >>>Is anybody there using TSM with non IBM automated library.. >>> >>>I am trying to configure TSM in solaris with sun's automated library and >>>am not successful.. >>> >>>The documenation in the net says >>> >>>|Configuring Device Drivers for Non-IBM Tape Drives and Libraries >>> >>>|If you are configuring a tape library, you must set up the device drivers >>>|for both the drives in the library and the library itself. >>>------------------------------------------------------------------ >>>|Attention: IBM Tivoli Storage Manager /mt device |drivers do not support >>>the Sun Solaris mt command. >>>--------------------------------------------------------------------- - >>> >>>how to proceed. waiting for help. >>> >>>Thanks >>>Geetha >>> >>> >>> >>I seriously doubt that is all documentation available on the topic. >>surely you haven't looked hard enough. >>I read the Quick Start document when we installed on Solaris last year, >>and as far as I can remember it described how to install device drivers >>for Solaris quite well. >>You are not providing much information about your specific problem, so I >>can only recommend reading the above document. >> >>/A >> >> >> -