Amanda-Users

Re: Amanda 2.5.0 upgrade weirdness

2006-05-18 00:05:21
Subject: Re: Amanda 2.5.0 upgrade weirdness
From: Brad Willson <bwil150n AT u.washington DOT edu>
To: amanda-users AT amanda DOT org
Date: Wed, 17 May 2006 20:01:02 -0700


Jon LaBadie wrote:

On Wed, May 17, 2006 at 06:00:31PM -0700, Brad Willson wrote:
Where is the changer defined?

# ls -l
total 68
-rw-rw----  1 backup backup 19493 Mar 24 07:42 amanda.conf
-rw-r--r--  1 backup backup  1267 May 16 09:35 changer


This is from memory, so confirm before using:

chg-zd-mtx wants the changer config file defined in amanda.conf,
but you enter it there without a ".conf" extension.  Still,
I think chg-zd-mtx looks for the file with the .conf.

If my memory is correct, this line from your amanda.conf

changerfile "/etc/amanda/DailySet1/changer"

should be matched by a changer".conf" file.
Will symlinks cause any problems?  I have...
lrwxrwxrwx 1 backup backup 29 May 15 21:43 changer.conf -> /etc/amanda/DailySet1/changer to address the issue above.

Then, although amanda.conf does allow an entry for changerdev,
like you have done here:

changerdev "/dev/sg0"

I think (again did not check) that it is also defined in changer.conf.
That will take precedence.


amanda.conf, changer, changer.conf are now filthy with changerdev "/dev/sg0" and still the amtape DailySet1 update reports

amtape DailySet1 update
changer: got exit: 0 str: 6 10 1 1
changer_query: changer return was 10 1 1
changer_query: searchable = 1
amtape: scanning all 10 slots in tape-changer rack:
changer_find: looking for NULL changer is searchable = 1
changer: got exit: 0 str: 6 /dev/nst0
slot 6: not an amanda tape (Invalid argument)
changer: got exit: 0 str: 7 /dev/nst0
slot 7: not an amanda tape (Invalid argument)
changer: got exit: 0 str: 8 /dev/nst0
slot 8: not an amanda tape (Invalid argument)
changer: got exit: 0 str: 9 /dev/nst0
slot 9: not an amanda tape (Invalid argument)
changer: got exit: 0 str: 10 /dev/nst0
slot 10: not an amanda tape (Invalid argument)

Tomorrow 2.5.0* will make it's journey to /dev/null!  2.4 something will take 
its place.

--
Brad Willson, Sr. Computer Specialist
UW GeneTests, UW Box: 358735
EM: bwil150n AT u.washington DOT edu
W: 206.221.4674, C: 425.891.2732
http://www.genetests.org