Bacula-users

Re: [Bacula-users] Tape changer with simultaneous jobs, using (but not actually using) a tape

2010-03-30 15:35:20
Subject: Re: [Bacula-users] Tape changer with simultaneous jobs, using (but not actually using) a tape
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 30 Mar 2010 20:31:39 +0100
>>>>> On Tue, 30 Mar 2010 12:09:47 +1300, Craig Miskell said:
> 
> Hi,
>       I have a TL-2000 tape changer with two drives.  I have two differential 
> jobs which start at the same time, on different 
> filesystems but the same client  (also happens to be the same server as the 
> director/storage daemon).  This is bacula 5.0.0
> 
> Both jobs interleave to the same tape (this is good IMO, although I don't 
> know which knob I tweaked to make that happen 
> :)), but one of the jobs first seems to claim a second tape, purge/recycle 
> it, log the following rows in jobmedia:
>   jobmediaid | jobid | mediaid | firstindex | lastindex | startfile | endfile 
> | startblock | endblock | volindex
>  
> ------------+-------+---------+------------+-----------+-----------+---------+------------+----------+----------
>        12953 |    38 |       7 |          0 |         0 |         0 |       0 
> |          0 |        0 |        1
>        12956 |    38 |       8 |          1 |        37 |         0 |       0 
> |          1 |    14325 |        2
>        12957 |    38 |       8 |         37 |        50 |         1 |       1 
> |          1 |    15499 |        3
> ....
> 
> where mediaid 7 is the tape it just recycled and didn't use, and mediaid 8 is 
> the tape it's sharing with the other job.
> 
> I'm happy for it to interleave, but I'm curious as to why it touches that 
> first tape (7) but then decides not to use it. 
>    It's effectively recycling/nuking a backup that doesn't need to be, 
> requiring two tapes where one will do.   Anyone 
> got any idea what's going on?  Happy to file a bug if it is one, but don't 
> want to false report.

I suggest trying it in bacula 5.0.1 first.

If that still fails, what does it report in the log say when it decides not to
use the first tape?

__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