Hi,
I have just set up amanda on my linux box here (Mandrake 8.2 with a Sun
DLT4700 autochanger/DLT attached & using the chg-zd-mtx).
Everything appears to be working except that amdump/amflush can't find
the right tape!
I have run amlabel to label all the tapes in the rack (1-6 anyway cos 7
is a cleaning tape) and that worked fine.
Here is the relevent part of the amanda.conf:
dumpcycle 2 days # the number of days in the normal dump cycle
runspercycle 20 # the number of amdump runs in dumpcycle days
tapecycle 6 tapes # the number of tapes in rotation
Amdump produces this report:
*** A TAPE ERROR OCCURRED: [label Tape1 or new tape not found in rack].
Some dumps may have been left in the holding disk.
Run amflush to flush them to tape.
The next 2 tapes Amanda expects to used are: Tape1, Tape2.
Yet if you use the amtape show command you get this:
[root: DailySet1]# amtape DailySet1 show
amtape: scanning all 6 slots in tape-changer rack:
slot 3: date X label Tape3
slot 4: date X label Tape4
slot 5: date X label Tape5
slot 6: date X label Tape6
slot 1: date X label Tape1
slot 2: date X label Tape2
What's going on? Amanda is expecting Tape1 and amdump fails yet amtape
quite clearly shows the tape in the slot!
Cheers,
Phil
--
===================================================
Phil Launchbury, Senior Systems Administrator
Wind River Systems UK Ltd
[EMAIL PROTECTED]