Hi,

this week i updated to 1.38.5 (Debian 3.1) and overhauled my config. Now
i have an Autochanger resource and some device resources.

20 jobs are running simultaneously, but all on the first
device /dev/nst0.

Do you have any ideas how to force Bacula to use all available drives?

bacula-sd.conf (relevant parts)
==================================
Storage {
  Name = "b3m-sd"
  SDPort = 9103
  WorkingDirectory = "/var/lib/bacula"
  Pid Directory = "/var/run/bacula"
  Maximum Concurrent Jobs = 20
}

Autochanger {
  Name = TLS-412180
  Device = AIT2-01
  Device = AIT2-02
  Device = AIT2-03 
  Device = AIT2-04
  Device = AIT2-05
  Device = AIT2-06
  Device = AIT2-07
  Device = AIT2-08
  Changer Device = /dev/sg0
  Changer Command = "/opt/bacula/etc/scripts/mtx-changer %c %o %S %a %d"
} 
  
Device {
  Name = AIT2-01
  MediaType = AIT-2
  Archive Device = /dev/nst0
  Drive Index = 0
  Autochanger = yes
  AutomaticMount = yes
  LabelMedia = yes
  AlwaysOpen = yes
  Removable Media = yes
  Spool Directory = "/var/spool/bacula/drive01"
  Maximum Spool Size = 15g
} 

Device {
  Name = AIT2-02
  MediaType = AIT-2
  Archive Device = /dev/nst1
  Drive Index = 1
  Autochanger = yes
  Autoselect = yes
  AutomaticMount = yes
  LabelMedia = yes
  AlwaysOpen = yes
  Removable Media = yes
  Spool Directory = "/var/spool/bacula/drive02"
  Maximum Spool Size = 15g
}

Device {
  Name = AIT2-03
  MediaType = AIT-2
  Archive Device = /dev/nst2
  Drive Index = 2
  Autochanger = yes
  Autoselect = yes
  AutomaticMount = yes
  LabelMedia = yes
  AlwaysOpen = yes
  Removable Media = yes
  Spool Directory = "/var/spool/bacula/drive03"
  Maximum Spool Size = 15g
}

... and so on

In bacula-dir.conf
===============================
Storage {
  Name = "TLS-412180"
  Address = b3m
  SDPort = 9103
  Autochanger = yes
  Password = "password"
  Device = "TLS-412180"
  Media Type = AIT-2
  Maximum Concurrent Jobs = 20
}

Best regards,
Christoph Brunner


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to