Hi All, Just come across Bacula and a recent need to backup to tape libraries, so I have compiled and installed Bacula and it works just fine - my thanks to the developers.
I have two ATL Powerstore DLT tape libraries (contain 8 tapes each with barcode readers) and when I configure bacula to use just one, it works beautifully, however the issue is when I daisy chain them together on the scsi bus and try and get bacula to use both from a single host. Each unit has it own SCSI ID for the controller and the drive i.e /dev/ nst0 and /dev/sg5 and /dev/nst1 and /dev/sg7 - issuing MTX commands works fine and tapes can be loaded/unloaded etc..... I can issue a btape -c /etc/bacula/bacula-sd.conf /dev/nst0 and /dev/ nst1 and the autochanger tests work fine, I think the issue here is getting bacula to use my units within the storage config directives. An example is: 1000 OK: pegasus-dir Version: 2.2.7 (24 December 2007) Enter a period to cancel a command. *update slots Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" The defined Storage resources are: 1: DLT1 2: DLT2 Select Storage resource (1-2): 1 Connecting to Storage daemon DLT1 at xxxx.xxxxxx.com:9103 ... 3995 Device "DLT1" (/dev/nst0) is not an autochanger. Enter autochanger drive[0]: What am I missing here ? or is this not possible ? I have the following in my bacula-sd.conf Device { Name = DLT1 # Drive Index = 0 Device Type = Tape Media Type = DLT-8000 LabelMedia = yes; Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = no; RemovableMedia = no; RandomAccess = no; Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" Changer Device = /dev/sg5 AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } Device { Name = DLT2 # Drive Index = 0 Device Type = Tape Media Type = DLT-8000 LabelMedia = yes; Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = no; RemovableMedia = no; RandomAccess = no; Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" Changer Device = /dev/sg7 AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } I did comment out the AutoChanger part as it appeared to work if I was using a single autochanger but with multiple drives which is not the config I have here. If anyone has any pointers I would be really grateful. Kind Regards Matt Brown ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users