Hi,
Thanks for the response to my previous message. I've Amanda up and
running now, it is backing up to the hard drive using the file:/path
tapedev option. I'd also like to get it setup to use the automatic tape
changer to automatically change "tapes" (which are really just
directories on the backup hard disk). I think I've got the
configuration setup properly, but I'm having problems with the ammt
program that amanda uses to control the "tape". It seems that the mt
program doesn't work properly with the file:/path tapedev as I keep on
getting input/output errors when the program is called to do things like
rewind the tape. I'm not sure whether this is a problem with the mt
program or my configuration (or maybe it is the chg-multi script that is
driving the mt program which is the problem). Hopefully someone can help.
The relevant parts of my config files:
amanda.conf
-------------
tpchanger "chg-multi"
tapedev "file:/backup/amanda"
changerfile "/usr/local/etc/amanda/hard-disk-only/chg-multi.conf"
changerdev "/dev/null"
chg-multi.conf
---------------
multieject 0
gravity 0
needeject 0
ejectdelay 0
firstslot 1
lastslot 4
slot 1 file:/backup/amanda/tapes/t1
slot 2 file:/backup/amanda/tapes/t2
slot 3 file:/backup/amanda/tapes/t3
slot 4 file:/backup/amanda/tapes/t4
The most suspicious looking part is the changerdev parameter in
amanda.conf. I'm not sure what to set this to.
The exact error is in the following portion of the changer.debug file
created by amanda when I run the amlabel command to try to label the
disk (I've got a soft link from /backups/amanda/data to
/backups/amanda/tapes/t1 when I run the amlabel program):
Args -> -slot
current
MT -> /usr/local/sbin/ammt
-f
Note: setting posteject to a default of "true"
-> rewind
file:/backup/amanda/tapes/t4
file:/backup/amanda/tapes/t4 rewind failed: Input/output
error
Exit -> 4 chg-multi: slot is
empty
This error occurs when, from what I can tell, the following command is run:
/usr/local/sbin/ammt -f file:/backup/amanda/tapes/t4 rewind
I get the same error as displayed in the changer.debug file
Thanks for your help
Alex.