I have a Breece Hill Q2.15 with 15 slots and one drive. I cannot get
amanda to see any tapes in the drive...even though mtx reports differently:
any suggestions or references greatly appreciated.
# mtx -f /dev/sg1 status
Storage Changer /dev/sg1:1 Drives, 15 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded)
Storage Element 1:Empty
Storage Element 2:Full
Storage Element 3:Full
Storage Element 4:Full
Storage Element 5:Full
Storage Element 6:Full
Storage Element 7:Full
Storage Element 8:Full
Storage Element 9:Full
Storage Element 10:Full
Storage Element 11:Full
Storage Element 12:Full
Storage Element 13:Full
Storage Element 14:Full
Storage Element 15:Full
Here are the relevant lines from amanda.conf:
runtapes 1 # number of tapes to be used in a single run of
amdump
tpchanger "chg-multi" # the tape-changer glue script
#tpchanger "chg-mtx"
#tpchanger "chg-zd-mtx" #use if mtx uses load, unload (unary error)
tapedev "/dev/nst0" # the no-rewind tape device to be used
#rawtapedev "/dev/null" # the raw device to be used (ftape only)
#changerfile "/var/lib/amanda/DailySet1/changer"
#changerfile "/var/lib/amanda/DailySet1/changer-status"
#changerfile "/etc/amanda/DailySet1/changer.conf"
changerfile "/etc/amanda/daily/changer.conf"
changerdev "/dev/sg1"
and from changer.conf:
# Enumerate the device files that go with the particular tape changer
# slots. Don't forget to specify the no-rewind version of the device.
slot 0 /dev/nst0
slot 1 /dev/nst0
slot 2 /dev/nst0
slot 3 /dev/nst0
slot 4 /dev/nst0
slot 5 /dev/nst0
slot 6 /dev/nst0
slot 7 /dev/nst0
slot 8 /dev/nst0
slot 9 /dev/nst0
slot 10 /dev/nst0
slot 11 /dev/nst0
slot 12 /dev/nst0
slot 13 /dev/nst0
slot 14 /dev/nst0
slot 15 /dev/nst0
and the results of amcheck:
bash-2.05$ /usr/sbin/amcheck daily
Amanda Tape Server Host Check
-----------------------------
Holding disk /usr/holdingdisk: 22639320 KB disk space available, that's
plenty
amcheck-server: slot 3: slot is empty
amcheck-server: slot 4: slot is empty
amcheck-server: slot 5: slot is empty
amcheck-server: slot 6: slot is empty
amcheck-server: slot 7: slot is empty
amcheck-server: slot 8: slot is empty
amcheck-server: slot 9: slot is empty
amcheck-server: slot 10: slot is empty
amcheck-server: slot 11: slot is empty
amcheck-server: slot 12: slot is empty
amcheck-server: slot 13: slot is empty
amcheck-server: slot 14: slot is empty
amcheck-server: slot 15: slot is empty
amcheck-server: slot 0: slot is empty
amcheck-server: slot 1: slot is empty
amcheck-server: slot 2: slot is empty
ERROR: new tape not found in rack
(expecting a new tape)
NOTE: skipping tape-writable test
NOTE: info dir /var/lib/amanda/daily/curinfo: does not exist
NOTE: it will be created on the next run
NOTE: index dir /var/lib/amanda/daily/index: does not exist
Server check took 1.258 seconds
<--snip-->
thanks
=============================================================
Jonathan Murray
Computer and Information Services
Woods Hole Oceanographic Institution http://www.whoi.edu
Woods Hole, MA 02543-1541 voice: (508) 289-2877
fax: (508) 457-2174 e-mail: [EMAIL PROTECTED]
=============================================================