Amanda-Users

Re: Devices

2002-08-28 08:28:06
Subject: Re: Devices
From: Gene Heskett <gene_heskett AT iolinc DOT net>
To: greg <slay AT slough-feg DOT com>, amanda-users AT amanda DOT org
Date: Wed, 28 Aug 2002 08:11:53 -0400
On Wednesday 28 August 2002 01:52, greg wrote:
>Hello,
>
>I am running amanda 2.4.2p2  on FreeBSD 4.6.2.  Well I hope to be
>anyways.  The thing I cannot seem to figure out is this.  I am
> using a quantum ATL L500 tape changer with a DLT8000-40 tape
> drive.  The devices for the /dev/sa device are numbered
>/dev/sa0
>/dev/sa0.0
>/dev/sa0.1
>/dev/sa0.2
>/dev/sa0.3
>
>I am trying with the changer.conf to name the slots at the end but
> when I do "amlabel -f normal Z01 slot 0"  I get
>"slot 0 empty".  What I do not understand is,  does each
> /dev/sa0.* device pertain to a slot in loader or do i need to
> make sa1 sa2 sa3 and so on?  Or am I totally lost?

Pretty much :-)

Amanda doesn't care about the slot, only the name of the tape in 
that slot.  If its not the tape she wants, she'll go on to the next 
slot until she has looked at all of them, and send you an email if 
she doen't find the right tape.  AFAIK, there is no mechanism to 
associate a tapes name with a given slot.

You also didn't identify which 'changer.conf', which we need as some 
use base 0 numbering for slots, and some use a base 1 scheme.  
chg-scsi, which I use here, is the former style, or base 0.

As to figureing out the tape device and changer device (they're 
*usually* seperately handled), so that you can properly identify 
them, if you are a linux system, take a look at /var/log/dmesg, 
which should contain the detection reports of the devices as it 
booted up the last time.  Ahh, I see you're on a FreeBSD box, so I 
have no idea where its boot log is kept, or even if it keeps one, 
sorry.  I've never run that os.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.13% setiathome rank, not too shabby for a WV hillbilly

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