Bacula-users

Re: [Bacula-users] potential concurrency bug in SD?

2010-03-03 15:34:05
Subject: Re: [Bacula-users] potential concurrency bug in SD?
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 3 Mar 2010 20:31:35 GMT
>>>>> On Tue, 2 Mar 2010 17:11:59 -0500, Joseph Dickson said:
> 
> Greetings..
> 
> I believe I may be hitting a concurrency bug in the storage director code,
> but I'm pretty new to Bacula and may just not understand what I'm looking at
> in the trace output.  The quick outline of my scenario is:
> 
> Bacula version 5.0
> SD and DIR running on same box (CentOS 5.4, x86_64)
> Completely file based backup, using a custom autochanger script (which does
> not appear to be the problem, but I mention it because it may be relevant)
> 
> In my setup:
> 
> -          I have a single autochanger defined (changer0)
> 
> -          I have 10 drives of DeviceType=File defined for changer0
> 
> -          Maximum Concurrent Jobs = 1 is set on each Device entry for each 
> drive
> 
> -          Each drive shares the same media type, changer0_media
> 
> -          I have three pools - OnSiteFull, OnSiteIncremental, and 
> OnSiteScratch
> 
> 
> 
> I have 5 backup jobs that all start at the same time (1:30am), and which all
> will want either OnSiteFull or OnSiteIncremental depending on the day.
> 
> 
> 
> The problem that I am seeing is that volumes are being incorrectly marked as
> being in Error status each night.  My storage director trace output can be
> found at: http://pastebin.com/raw.php?i=Ne0XJbBh
> 
> 
> 
> One of the jobs in the trace output that marks a volume as in Error is job
> 36.  If someone more familiar with how volume selection works could take a
> peek and give me some guidance I'd really appreciate it.. in looking through
> the trace and trying to follow the code, it looks like there is a
> concurrency issue when there is a volume which is wanted on a drive other
> than the one it is currently loaded into.

There are several disk-changer bacula-sd configs in the regress/scripts/
directory.  Are there any differences in your device config compared to those?

__Martin

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>