> I have this problem with all drives where there drive index is greater then 0. > > > bacula-sd.conf > --- > Autochanger { > Name = sgzhBaculaSD2-LTO > Device = Drive-1 > Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" > Changer Device = /dev/sg0 > } > > > Device { > Name = Drive-1 # > Drive Index = 1 > Media Type = LTO > Archive Device = /dev/nst1 > AutomaticMount = yes; # when device opened, read it > AlwaysOpen = yes; > RemovableMedia = yes; > RandomAccess = no; > AutoChanger = yes; > Autoselect = yes > Spool Directory = "/var/lib/bacula/tmp" > } > --- > > Perhaps someone has an idea? In version 1.38.11 it still ran. I think it is a > problem with the Drive Index id. > I am confused. Why are you defining only 1 drive? There should be 4 device entries and the autochanger resource should reference all of them.
Autochanger { Name = sgzhBaculaSD2-LTO Device = Drive-0,Drive-1,Drive-2,Drive-3 Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" Changer Device = /dev/sg0 } Device { Name = Drive-0 # Drive Index = 0 Media Type = LTO Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes; Autoselect = yes Spool Directory = "/var/lib/bacula/tmp" } Device { Name = Drive-1 # Drive Index = 1 Media Type = LTO Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes; Autoselect = yes Spool Directory = "/var/lib/bacula/tmp" } Device { Name = Drive-2 # Drive Index = 2 Media Type = LTO Archive Device = /dev/nst2 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes; Autoselect = yes Spool Directory = "/var/lib/bacula/tmp" } Device { Name = Drive-3 # Drive Index = 3 Media Type = LTO Archive Device = /dev/nst3 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes; Autoselect = yes Spool Directory = "/var/lib/bacula/tmp" } John ------------------------------------------------------------------------- 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