Stephen Thompson <stephen <at> seismo.berkeley.edu> writes:

> 
> 
> On 3/21/12 8:02 AM, Stephen Thompson wrote:
> >
> >
> > Thanks for the response.
> > I am referring to this page in the documentation:
> > http://www.bacula.org/en/dev-manual/main/main/Data_Spooling.html
> >
> > I believe the above page is inline with what you say below.
> >
> > I am running 5.2.6 on Centos 5.8 with a tape library with 2 drives.
> >
> > When I have launched jobs together, meaning, when I launch a set of jobs
> > in quick successtion so that they all vie for tape device resources, and
> > as those are assigned, they begin spooling, I have observed the
> > behaviour described in the web page above and your email below.
> >
> > The case where I have not is this:
> >
> > Day 1, launch set of jobs which occupy all drives, and use Data
> > Spooling.  These run as expected and smaller/faster jobs complete
> > sooner.  A few jobs (say two large slow ones to emphasize the situation)
> > remain spooling for longer, but eventually reach their despooling phase,
> > at which point they both occupy one of my two tape drives.  This
> > situations proceeds into Day 2.
> >
> > Day 2, launch a different set of jobs, and use Data Spooling.  The jobs
> > from the previous day are still despooling, and occupying all available
> > drives.  And there is plenty of spool space available.  All jobs in this
> > example have the same priority, level, use the same pool, to which the
> > tapes in the occupied drives belong, and there are no concurrencies
> > being exceeded.
> >
> > What I see for these new jobs, is that they do NOT begin to spool.
> > There status in bconsole is:
> >
> > (for Director)
> > 12345 Full    JOBNAME.0000-00-00_00.00.00_00 is running
> >
> > (for Storage Daemon)
> > spooling=0 despooling=0 despool_wait=0w
> > [I don't seem to have captured what they say in the device field.]
> >
> > They remain in this state until the jobs from the previous day finish
> > despooling and free up their drives, at which point the new jobs begin
> > spooling.
> >
> > After doing some reading, I wondered if it's not possible that they are
> > stuck in the state before despooling, which I believe is checking to seew
> 
> sorry, correction: "in the state before spooling"

I think you just run into Feature request 11:

Item 11: Start spooling even when waiting on tape
  Origin: Tobias Barth <tobias.ba...@web-arts.com>
  Date:  25 April 2008
  Status:

  What: If a job can be spooled to disk before writing it to tape, it should
          be spooled immediately.  Currently, bacula waits until the correct
          tape is inserted into the drive.

  Why:   It could save hours.  When bacula waits on the operator who must insert
          the correct tape (e.g.  a new tape or a tape from another media
          pool), bacula could already prepare the spooled data in the spooling
          directory and immediately start despooling when the tape was
          inserted by the operator.
         
          2nd step: Use 2 or more spooling directories.  When one directory is
          currently despooling, the next (on different disk drives) could
          already be spooling the next data.

  Notes: I am using bacula 2.2.8, which has none of those features
         implemented.

And no nothing done is that respect as far that I know of
and your best bet is the Enterprise version to get the priority
raised for this feature request.

Marco


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to