Networker

Re: [Networker] Setting up a tape library on RH Linux via fibre

2007-07-19 18:03:47
Subject: Re: [Networker] Setting up a tape library on RH Linux via fibre
From: Nick Tan <nick AT WEHI.EDU DOT AU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 20 Jul 2007 07:59:58 +1000
Hi Stan,

RHEL4 doesn't scan all the LUNs by default. What I've had to do is manually scan the LUNS by doing:

echo "scsi add-single-device 2 0 2 1" > /proc/scsi/scsi

where the numbers mean controller 2, target 0, bus 2, lun 1

You'll need to do this for each lun that is connected. Then inquire should show all the devices.

Also, some HBA's don't connect tape devices by default. I've had to go into the firmware setup when the computer is rebooting and enable an option to scan for tape devices.

Hope this helps,

Nick

Stan Horwitz wrote:
I am setting up a new Red Hat Linux ES 4 server with a Qualstar tape library. For testing, I just installed NetWorker 7.2.1 server, but it will be a storage node when it goes into production. Anyway, the library is connected to a Qlogic SANbox Express 1400 which has four fibre channel cables running to a Dell 2950 with three Qlogic HBA cards in it (although I am only using two of them now). After much puttering around, I can get "inquire -l" to see the four LTO-3 tape drives in this new library, but I am at a loss as to how to make the robot's information appear in the "inquire -l" output. When I try to use jbconfig, it can't find the tape library.

I am sure I am missing some step, but I don't know what that step is. Any suggestions will be appreciated. Here's what I have from the "inquire -l" command:

$ /usr/sbin/inquire -l

-l flag found: searching all LUNs, which may take over 10 minutes per adapter
        for some fibre channel adapters.  Please be patient.

[email protected]:DP BACKPLANE 1.05|(Unknown Device Type d), /dev/sg0
                                           ATNN:DP      BACKPLANE000000
[email protected]:DELL    PERC 5/i        1.03|Disk, /dev/sg1
S/N: 0054a1ad3ddb70b00d0091e8be909b01 WWNN:60019B90BEE891000DB070DB3DADA154
[email protected]:DELL    PERC 5/i        1.03|Disk, /dev/sg2
S/N: 00ae83b73cdb70b00d0091e8be909b01 WWNN:60019B90BEE891000DB070DB3CB783AE
[email protected]:QualstarVFS212          T522|Processor, /dev/sg3
                                           S/N: 100000501300301f0000
WWNN:600501300000301F0000000000000000
                                           PORT:00000001
[email protected]:QualstarVFS212          T522|Processor, /dev/sg4
                                           S/N: 100000501300301f0000
WWNN:600501300000301F0000000000000000
                                           PORT:00000001
[email protected]:QualstarVFS212          T522|Processor, /dev/sg5
                                           S/N: 100000501300301f0000
WWNN:600501300000301F0000000000000000
                                           PORT:00000001
[email protected]:QualstarVFS212          T522|Processor, /dev/sg6
                                           S/N: 100000501300301f0000
WWNN:600501300000301F0000000000000000
                                           PORT:00000001

--
Stan Horwitz
Temple University
Enterprise Systems Group
stan AT temple DOT edu

CONFIDENTIALITY STATEMENT: The information contained in this e-mail, including attachments, is the confidential information of, and/or is the property of, Temple University. The information is intended for use solely by the individual or entity named in the e-mail. If you are not an intended recipient or you received this in error, then any review, printing, copying, or distribution of any such information is prohibited. Please notify the sender immediately by reply e-mail and then delete this e-mail from your system.

To sign off this list, send email to listserv AT listserv.temple DOT edu and type "signoff networker" in the body of the email. Please write to networker-request AT listserv.temple DOT edu if you have any problems with this list. You can access the archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

--
Nick Tan
Unix Systems Manager
The Walter and Eliza Hall Institute
nick AT wehi.edu DOT au

To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the body of the email. Please write to networker-request 
AT listserv.temple DOT edu if you have any problems with this list. You can access the 
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER