Bacula-users

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

2010-03-29 19:35:54
Subject: [Bacula-users] Tape changer with simultaneous jobs, using (but not actually using) a tape
From: Craig Miskell <craig.miskell AT opus.co DOT nz>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 30 Mar 2010 12:09:47 +1300
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.

Thanks,

-- 
Craig Miskell
Senior Systems Administrator
Opus International Consultants
Phone: +64 4 471 7209
I hate Sharepoint
-Craig Miskell, repeatedly 2004-2007
-Also attributed to Stuart Dillon-Roberts, during the installation of 2007 Beta 
version
-Also by Dean Eidler, during installation of 2007 final release
-Also by Greg Peyroux, 2008 during MySites deployment
-Also Dee Milic, 2009, Superlinc project



------------------------------------------------------------------------------
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