Bacula is going to "prefer" to put all jobs on the first available tape, unless you specify different pools (i.e. different Volumes), or tell Bacula to not prefer an active drive, or explicitly specify a drive -- see the ReleaseNotes for how to not perfer the first available drive, I forget the exact directive name.
On Tuesday 08 November 2005 20:53, Joshua Myles wrote: > Hi all, > > Sorry in advance for what is probably a conceptual oversight on my part. > I've read the Fine Manual and browsed the list archives, but I'm still > coming up short. > > I have a four-drive tape library, and am using 1.38.0 on Solaris 8 > SPARC. My configuration is working great, except I'm unable to get > Bacula to use more than one drive concurrently. As it is, multiple > concurrent jobs can (and do) run on one device, not multiple devices. > > Ultimately, I'd like Bacula to do this: > > 1-4 concurrent jobs: Run one job per device. > 4+ concurrent jobs: Run one or two jobs per device, depending on the > speed of the client (limited by Maximum Concurrent Jobs in the Client > directive; usually "2" is enough to reach full tape speed). > > Below are the relevant sections of my configuration files. > > Thanks, > > Josh > > bacula-dir.conf > --------------- > Director { > Name = foo-dir > DIRport = 9101 > QueryFile = /usr/local/bacula/bin/query.sql > WorkingDirectory = /usr/local/bacula/var > PidDirectory = /var/run > Maximum Concurrent Jobs = 4 > Password = "password" > Messages = Daemon > } > > Client { > Name = bar-fd > Address = bar > FDPort = 9102 > Catalog = MyCatalog > Password = "password" > File Retention = 30 days > Job Retention = 6 months > AutoPrune = yes > } > > Storage { > Name = TLS-4480 > Address = foo > SDPort = 9103 > Password = "password" > Device = TLS-4480-Autochanger > Media Type = AIT-3 > Autochanger = yes > Maximum Concurrent Jobs = 4 > } > > Pool { > Name = Default > Pool Type = Backup > Recycle = yes > AutoPrune = yes > Volume Retention = 365 days > Accept Any Volume = yes > } > > bacula-sd.conf > -------------- > Storage { > Name = foo-sd > SDPort = 9103 > WorkingDirectory = /usr/local/bacula/var > Pid Directory = /var/run > Maximum Concurrent Jobs = 20 > } > > Autochanger { > Name = TLS-4480-Autochanger > Device = TLS-4480-Drive-0 > Device = TLS-4480-Drive-1 > Device = TLS-4480-Drive-2 > Device = TLS-4480-Drive-3 > Changer Command = "/usr/local/bacula/bin/mtx-changer %c %o %S %a %d" > Changer Device = /dev/changer > } > > Device { > Name = TLS-4480-Drive-0 > Drive Index = 0 > Media Type = AIT-3 > Archive Device = /dev/rmt/0cbn > AutomaticMount = yes > AlwaysOpen = yes > RemovableMedia = yes > RandomAccess = no > AutoChanger = yes > Changer Command = "/usr/local/bacula/bin/mtx-changer %c %o %S %a %d" > Changer Device = /dev/changer > Alert Command = "sh -c '/usr/local/sbin/tapeinfo -f %c | grep > TapeAlert | cat'" > } > > Device { > Name = TLS-4480-Drive-1 > Drive Index = 1 > ... > } > > Device { > Name = TLS-4480-Drive-2 > Drive Index = 2 > ... > } > > Device { > Name = TLS-4480-Drive-3 > Drive Index = 3 > ... > } > > bacula-fd.conf > -------------- > Director { > Name = foo-dir > Password = "" > } > > FileDaemon { > Name = bar-fd > FDport = 9102 > WorkingDirectory = /usr/local/bacula/var > Pid Directory = /var/run > Maximum Concurrent Jobs = 20 > } > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users