Martin A. Brooks wrote:

> At 13:54 03/10/2002 -0400, Galen Johnson wrote:
>
>> Actually, I've run across this and would have to say it's a bug in 
>> the code.  The offline_before_unload option should be 
>> OFFLINE_BEFORE_UNLOAD...the sed script doesn't ignore case (I wish it 
>> would and may take the time to force it to)
>
>
> I've changed this to the case you suggest but it has no effect.  The 
> debug log file shows the option as still being set to zero.
>
> I would say it's simply ignoring the config file, but what's 
> interesting is that amanda has created the info files associated with 
> the changer.  For example:
>
> -rw-------    1 backup   backup          2 Oct  4 08:35 
> changer.conf-access
> -rw-------    1 backup   backup          0 Oct  3 12:04 
> changer.conf-barcodes
> -rw-------    1 backup   backup          2 Oct  3 12:04 
> changer.conf-clean
> -rw-------    1 backup   backup          2 Oct  4 08:34 changer.conf-slot
>
> Cheers.
>
> Mart.
>
hmm....make sure you don't have any comments in the file.  Mine has only 
the definitions and nothing else.

chg-zd-mtx.conf:

firstslot=1
lastslot=7
cleanslot=-1
autoclean=0
autocleancount=99
havereader=0
offline_before_unload=1
cleancycle = -1
unloadpause = 10
driveslot = 0
poll_drive_ready = 3
max_drive_wait = 120

Also, I'm assuming that you have a line in amanda.conf similar to the 
following:

changerfile "/home/amanda/config/daily/chg-zd-mtx"

Note that you don't put the .conf suffix in the changerfile definition.

=G=


Reply via email to