Dear Stephen Thompson, In message <50982f94.10...@seismo.berkeley.edu> you wrote: > On 11/05/2012 01:17 PM, Josh Fisher wrote: > > > > On 11/5/2012 11:03 AM, Stephen Thompson wrote: ... > > When you start the jobs manually, I assume you are starting them at > > different times. This works, because the first job is up and running > > with the volume loaded before the second job begins its selection > > process. One way to handle this issue is to have a different Schedule > > for each job and start the jobs at different times with one second > > spacing. Jobs will still run concurrently, they just won't start up > > concurrently. > > I suspected something like that, but would ask out loud "if bacula runs > into a contention like that and there are other available volumes in the > requested pool, why doesn't it decide to use another volume instead of > blocking?"
I'm not sure about this. I see very similar problems when trying to use the second drive for other purposes, like labelling new tapes, while a job is running on the first one, like this: *label dummy pool=ARCH storage=LTOLIB drive=1 slots=25 barcodes Connecting to Storage daemon LTOLIB at ltos.denx.de:9103 ... 3306 Issuing autochanger "slots" command. Device "LTO3-0" has 48 slots. Connecting to Storage daemon LTOLIB at ltos.denx.de:9103 ... 3306 Issuing autochanger "list" command. The following Volumes will be labeled: Slot Volume ============== 25 SAV000L3 Do you want to label these Volumes? (yes|no): yes Connecting to Storage daemon LTOLIB at ltos.denx.de:9103 ... Sending label command for Volume "SAV000L3" Slot 25 ... 3937 Device ""LTO3-0" (/dev/tape/by-id/scsi-35000e11802947001-nst)" is busy with writers=1 reserved=0. Label command failed for Volume SAV000L3. with: Device { Name = LTO3-0 Media Type = LTO-3 Archive Device = /dev/tape/by-id/scsi-35000e11802947001-nst AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; Maximum File Size = 5GB Maximum Block Size = 512K Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d" Changer Device = /dev/tape/by-id/scsi-1BDT_FlexStor_II_00DE64100465_LL0 AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" # If you have smartctl, enable this, it has more info than tapeinfo # Alert Command = "sh -c 'smartctl -H -l error %c'" # Spool Data to disk before writing to tape Spool Directory = /backup/spool Maximum Spool Size = 5120GB Maximum Job Spool Size = 5120GB } Device { Name = LTO3-1 Media Type = LTO-3 Archive Device = /dev/tape/by-id/scsi-35000e11802947004-nst AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; Maximum File Size = 5GB Maximum Block Size = 512K Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d" Changer Device = /dev/tape/by-id/scsi-1BDT_FlexStor_II_00DE64100465_LL0 AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" # If you have smartctl, enable this, it has more info than tapeinfo Alert Command = "sh -c 'smartctl -H -l error %c'" # Spool Data to disk before writing to tape Spool Directory = /backup/spool Maximum Spool Size = 5120GB Maximum Job Spool Size = 5120GB } Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Drawing on my fine command of language, I said nothing. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users