Martin A. Brooks wrote: > At 03:03 03/10/2002 -0700, Alan Horn wrote: > >> What sort of output are you seeing in /tmp/amanda/changer*.debug (or >> whatever it's called). Those can be useful files to look in. > > > I think I've found the cause of the problem, but not the cure. I > previously didn't have a sane changer.conf file, I've now corrected > this and it looks like: > > ------------------ > firstslot=1 > lastslot=24 > cleanslot=31 > AUTOCLEAN=0 > autocleancount=1 > havereader=1 > drivenum=1 > offlinestatus=1 > offline_before_unload=1 > sleeptime=10 > ------------------- > > The problem I'm now seeing is that the "offline_before_unload" option > seems to be being ignored. From the debug file, I get this.... > > ------------------- > 13:27:46 SLOTLIST -> firstslot set to 2 > 13:27:46 SLOTLIST -> lastslot set to 26 > 13:27:46 Config info: > firstslot = "2" > lastslot = "26" > cleanslot = "-1" > cleancycle = "-1" > offline_before_unload = "0" > unloadpause = "0" > autoclean = "0" > autocleancount = "99" > havereader = "0" > driveslot = "1" > poll_drive_ready = "3" > max_drive_wait = "120" > -------------------- > > These values obviously don't match those I've specified. In > amanda.conf, I specify > > changerfile "/etc/amanda/Changer/changer.conf" > > So I'm a little confused here. What's my example missing? > > Regards > > Mart. > 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)
=G=
