Hi,
You should look to this option :
*Prefer Mounted Volumes = <yes|no>*
If the Prefer Mounted Volumes directive is set to *yes* (default
yes), the Storage daemon is requested to select either an
Autochanger or a drive with a valid Volume already mounted in
preference to a drive that is not ready. If no drive with a suitable
Volume is available, it will select the first available drive.
If the directive is set to *no*, the Storage daemon will prefer
finding an unused drive, otherwise, each job started will append to
the same Volume (assuming the Pool is the same for all jobs).
Setting Prefer Mounted Volumes to no can be useful for those sites
particularly with multiple drive autochangers that prefer to
maximumize backup throughput at the expense of using additional
drives and Volumes. As an optimization, when using multiple drives,
you will probably want to start each of your jobs one after another
with approximately 5 second intervals. This will help ensure that
each night, the same drive (Volume) is selected for the same job,
otherwise, when you do a restore, you may find the files spread over
many more Volumes than necessary.
in http://bacula.org/rel-manual/Configuring_Director.html
Ludovic Strappazon.
Christoph Brunner a écrit :
>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
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
-------------------------------------------------------
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&kid3432&bid#0486&dat1642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users