Nicki Messerschmidt, Linksystem Muenchen GmbH wrote: ...[snip]...
/etc/amanda/finanzbuch/chg-multi.conf: statefile /etc/amanda/finanzbuch/changer-status firstslot 1 lastslot 10 slot 1 file:/backup/disk1/tape01 ... slot 10 file:/backup/disk1/tape10
How have set up these directories?
Following "man amanda", the directories should contain a directory "data". You probably have the data-directory on the same level as tapeXX, instead of below (yes, the example in the man page shows a way to emulate one tape drive with the contents of the tapes next, but in your changer, each tape should be in his own "drive"). I also needed to add the following parameters to chg-multi.conf:
multieject 0 gravity 0 needeject 0 ejectdelay 0
(at least, without the gravity parameter, amcheck complained loud).
So you should have: /backup/disk1/tape01/data/00000*thefileontape* instead of /backup/disk1/tape01/00000*thefileontape*
...[snip]...
Extracting files using tape drive chg-multi on host localhost. Load tape finanzbuch_007 now Continue [?/Y/n/s/t]? Y EOF, check amidxtaped.<timestamp>.debug file on localhost.
In that file you find the message:
amidxtaped: time 0.254: slot 7: chg-multi: slot is empty
This gives a strong indication that your setup was wrong.
Try the following command too:
$ amtape finanzbuch show amtape: scanning all 10 slots in tape-changer rack: slot 1: date 20030601 label finanzbuch_001 ... slot 10: date 20030610 label finanzbuch_010
and tune your directory setup until this works fine.