Re: amtape problems
2004-03-10 16:07:01
Josh,
I had the same problem the other day - turns out my initial
testing was from root rather than amanda user account and
I didn't have access (write access) to all of the files in the
amanda config directory.
> Hello Josh,
>
> > Did you go through the tests in the chg-zd-mtx script? Those should
> > confirm that your CHANGER.conf file is good.
>
> (amanda)@atbackup:/usr/local/etc/amanda/atlab$ chg-zd-mtx -info
> 3 7 1
>
> (amanda)@atbackup:/usr/local/etc/amanda/atlab$ chg-zd-mtx -reset
> /usr/local/libexec/chg-zd-mtx: loadslot: not found
> 1
>
> (amanda)@atbackup:/usr/local/etc/amanda/atlab$ chg-zd-mtx -slot next
> /usr/local/libexec/chg-zd-mtx: loadslot: not found
> 4
>
> (amanda)@atbackup:/usr/local/etc/amanda/atlab$ chg-zd-mtx -slot current
> 3 /dev/rmt/0hn
>
>
> chg-scsi.conf
>
> # $Date: 2004/03/10 20:39:13 $
> # $Author: amanda $
> # $Source: /usr/local/etc/amanda/atlab/RCS/chg-scsi.conf,v $
> # $Revision: 1.2 $
>
>
> firstslot=1 #### First storage slot (element) -- required
> lastslot=7 #### Last storage slot (element) -- required
> cleanslot=8 #### Slot with cleaner tape -- default is "-1"
> driveslot=0 #### Drive slot number. Defaults to 0
> autoclean=1 #### Set to '1' or greater to enable
> autocleancount=20 #### Number of access before a clean.
> havereader=0 #### If you have a barcode reader, set to 1
> offline_before_unload=1 #### Does your robot require a 'mt offline' before
> mtx unload?
> poll_drive_ready=3 #### Time (seconds) between tests to see if the
> tape drive has gone ready
> max_drive_wait=120 #### Maximum time (seconds) to wait for the tape
> drive to become ready
> initial_poll_delay=3 #### initial delay after load before polling for
> readiness
>
>
> ugh, tests 2 and 3 fail - I could have sworn this was working the other
> day....
> Guess I need to find out why "loadslot" isn't found.
>
> Thanks,
> -Ben
>
>
|
|
|