On Thursday 28 April 2005 16:02, Alan Gerber wrote:
> Kern Sibbald wrote:
> > On Thursday 28 April 2005 09:06, Alan Gerber wrote:
>
> [snipped for brevity]
>
> >>I've gone through the Bacula handbook a couple of times now, and I
> >>must be missing the point where it says that you can only run one
> >>job on an archive device at any given time.  It pseudo-makes sense
> >>for tapes, but not for random-access devices such as hard disks.
> >>Could someone go through and explain to me why this can't be done,
> >>or if I'm just doing (or interpreting) things incorrectly, where in
> >>the handbook it explains it?
> >
> > This was the subject of recent discussion on this list.
>
> I just subscribed the day before yesterday.  Looking back through
> the archives for the past few days shows an email from Thomas Ruth,
> but the question he asks in his second email (which is most like
> what I'm experiencing) doesn't get answered.  I'll keep digging, though.
>
> > This restriction on disk Volumes is reasonably well explained in the 1.37
> > manual. Disks are not tape, they are byte oriented rather than block
> > oriented, so Bacula does not allow two Jobs to use the same disk Volume.
> > This may be an artificial restriction, I haven't looked into it.  You can
> > disable the check in the SD and see what happens -- please let us know.
>
> Where is the 1.37 version located?  Both of Bacula.org's
> documentation links go to version 1.36.3...

Thanks for mentioning this -- I had changed it to 1.36.3 for that release and 
forgot to put it back. It is now corrected on the site.  We are going to 
modify the menu to make it easier to find all the different documentation 
(i.e. add a documentation page).

>
> I'll also look into disabling the check that you reference in the SD
> (I'm not really a programmer, so it may fail miserably).  If I turn
> up anything interesting, I'll let the list know.

I just looked at the code in 1.37, and I see no reason why there should be any 
problem running two simultaneous jobs with the same Device definition as long 
as you are using the same Pool (i.e. the same Volume).  So I am not sure any 
code changes are necessary.

However, if you use a different Pool, you *must* use different Device 
resources -- one I/O descriptor can only write to a single file -- that is a 
physical limitation, and is the same for a tape drive -- you can only have 
one tape mounted at a time.

>
> Thanks for the help!
>
> > The non-programming solution is to define multiple Device resources in
> > the SD.
> >
> >>If it helps, I can send out my config files as well.
> >>
> >>--
> >>Alan Gerber
>
> [snip]
>
>
>
> --
> Alan Gerber
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Tell us your software development plans!
> Take this survey and enter to win a one-year sub to SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to