hello everyone,
i think i've almost got amanda configured to work with my changer 100%. i
can load and unload tapes via the amtape command. specifying which slot i
want to load also works flawlessly. however, if i try and run an `amtape
<conf> show`, i get errors as it tries to read each tape (i.e.):
amtape miami show
amtape: scanning all 7 slots in tape-changer rack:
slot /dev/nst0:: no tape online
slot /dev/nst0:: no tape online
slot /dev/nst0:: no tape online
slot /dev/nst0:: no tape online
slot /dev/nst0:: no tape online
slot /dev/nst0:: no tape online
slot /dev/nst0:: no tape online
i can see the changer loading and unloading each tape as it spits each error
out. i labeled all of the tapes individually this morning, so i know they
are labeled and they also exist in the tapelist file. it seems as though the
problems occurs whenever i try to issue a command that accesses multiple
tapes in the device.
if i do an `mtx -f /dev/sg0 status`, you can see that the slots are full of
tapes except for slot 7:
amanda @ amanda ~ > mtx -f /dev/sg0 status
mtx -f /dev/sg0 status
Storage Changer /dev/sg0:1 Drives, 8 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 2 Loaded)
Storage Element 1:Full
Storage Element 2:Empty
Storage Element 3:Full
Storage Element 4:Full
Storage Element 5:Full
Storage Element 6:Full
Storage Element 7:Empty
Storage Element 8:Full
i'm a bit confused as to why i can tell amtape to pull tapes to and from any
slot in the changer flawlessly, but when i try to do an `amtape <conf> show`
or any command that tries to read all of the labels in all of the slots in
one shot, i get errors.
here's an amcheck session (with the correct tape in slot 1):
amanda @ amanda /etc/amanda/miami > amcheck miami
amcheck miami
Amanda Tape Server Host Check
-----------------------------
Holding disk /backup: 74779256 KB disk space available, using 65342072 KB
amcheck-server: slot 1: rewinding tape: Input/output error
amcheck-server: slot /dev/nst0:: no tape online
amcheck-server: slot /dev/nst0:: no tape online
amcheck-server: slot /dev/nst0:: no tape online
amcheck-server: slot /dev/nst0:: no tape online
amcheck-server: slot /dev/nst0:: no tape online
amcheck-server: slot /dev/nst0:: no tape online
ERROR: label Daily-001 or new tape not found in rack
(expecting tape Daily-001 or a new tape)
NOTE: skipping tape-writable test
Server check took 427.529 seconds
Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.072 seconds, 0 problems found
i'm attaching my changer.conf and amanda.conf files as well. i'd really
like to get the changer working properly before i move forward, but i'm
getting close to being frustrated at this point. help!
someone please point me to what i'm doing wrong.. thanks.
Highest Regards,
Edwin R. Rivera
UNIX Administrator
Tel: +1 305 894 4609
Fax: +1 305 894 4799
<[EMAIL PROTECTED]>
amanda.conf
changer.conf