Hi all, I have been trying to implement Mario's multitape changer and I'm almost there; I need just a bit of help :-).
I have two DLT-2000 drives attached to the same SCSI card. Here is the relevent section from bacula-sd.conf: Device { Name = multitape # Media Type = DLT2000 Archive Device = /dev/tape AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; # That"s the magic!!! Changer Command = "sudo /etc/bacula/scripts/multitape-changer.sh %c %o %S %a %d > /tmp/changer.txt" Changer Device = /dev/null AutoChanger = yes # Alert Command = "sh -c "tapeinfo -f %c |grep TapeAlert|cat"" # is it needed? Alert Command = "sh -c '/bin/true'" } All seems to be OK with the changer script. I have run it manually and I see that it changes the /dev/tape symlink from /dev/nst0 to /dev/nst1 and back again when instructed. I have tape volume DLTVol0011 in drive 1 and volume DLTVol0012 in drive 2. Due to some experimentation, these tapes are a bit out of order: DLTVol0011 has status Append and DLTVol0012 has status Full. I'm running a backup and I get this mail message: 11-Jul 15:36 localhost-sd: Please mount Volume "DLTVol0011" on Storage Device "multitape" for Job Paul_Full.2005-07-10_16.17.15 Apparently it does not know that DLTVol0011 is in tape drive 1. After looking at the fine manual, I ran across the "update slots" command. I tried that thinking bacula just needed a little push to recognize that it had available what it was asking for: *update slots The defined Storage resources are: 1: File 2: multitape Select Storage resource (1-2): 2 Connecting to Storage daemon multitape at backup.waldo.home:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result is Slot 2. 3305 Issuing autochanger "unload slot 2" command. 3306 Issuing autochanger "list" command. No Volumes found to label, or no barcodes. It appears that is not working either. Does anyone have any suggestions? Thanks in advance! Paul ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users