Networker

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

2007-07-20 18:18:42
Subject: Re: [Networker] Setting up a tape library on RH Linux via fibre
From: Dag Nygren <dag AT NEWTECH DOT FI>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Sat, 21 Jul 2007 01:15:25 +0300
> It turned out that I failed to connect a SCSI terminator and a cable  
> between the tape library's fibre channel option and a SCSI port. I  
> got that working and I am now able to use NetWorker to set up a tape  
> library resource and it loads tapes via "nsrjb" but unloading tapes  
> doesn't work. I was told by Qualstar's tech support that this problem  
> is due to faulty drive mapping.

They are probably right

> Does anyone know how to fix that? I have googled and checked this  
> list's archives, but I came up empty handed. EMC's PowerLink has some  
> information on how to do it with Solaris, but even the NetWorker 7.2  
> admin guide shows the Solaris way, which won't work on Red Hat Linux.

Firstly reboot your server making sure that you have the SCSI
devices on before that.
This as Linux in its standard incarnation will behave as badly as
Windows and remap the drives according to the order in which it finds
them at every reboot/reload of st-driver.

Secondly use "inquire" to get the /dev/xxxx path for the drives.

Thirdly use "sjisn" to get the order of the drives that the library
sees.

Then match the serial numbers to get a table where:
library drive #1 = /dev/xxxx
library drive #2 = /dev/yyyy

Then edit the jukebox resource to get the drives in library order, 
alternatively reconfigure the jukebox

If you are running 7.3 or 7.4 Networker will do the job for you,
just remember the reboot to get the initial order right.

Best
Dag

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

<Prev in Thread] Current Thread [Next in Thread>