Bacula-users

Re: [Bacula-users] Two Jobs same Pool one with Spooling and one without

2014-12-05 16:09:59
Subject: Re: [Bacula-users] Two Jobs same Pool one with Spooling and one without
From: Patrick <jummo4 AT yahoo DOT de>
To: Kern Sibbald <kern AT sibbald DOT com>
Date: Fri, 5 Dec 2014 22:07:31 +0100
Hi Kern,

Thanks for your reply.

For clarity: If the spooling job finished spooling before the not spooling job. 
The not spooling job will stop writing data to the volume and the spooling job 
will write (despool) to the volume (the mentioned lock). After the spooling 
jobs finish writing, the not spooling job will run further. No data of the 
spooling job will be interleaved and the not spooling job will have one gap in 
its data on the volume, but this isn’t a problem because modern tape drives 
will winding forward to the needed position.

Best Regards,
Patrick

> On 30 Nov 2014, at 17:34, Kern Sibbald <kern AT sibbald DOT com> wrote:
> 
> On 11/29/2014 09:01 PM, Patrick wrote:
>> Hi,
>> 
>> Last night I started two jobs, one with data spooling and the other without 
>> data spooling. Both jobs used the same pool and only one tape drive was 
>> available.
>> 
>> What I have seen from the logs:
>> Both jobs started. The without data spooling job mounted the tape drive with 
>> a volume from the desired pool and write files to it. The data spooling job 
>> also started, use the same tape drive with the same volume and write files 
>> into the spooling area. The data spooling finished spooling and write the 
>> data to the volume, the without data spooling job still runs and write data 
>> to the same volume.  
>> 
>> My Question:
>> If I ran two jobs, one with data spooling the other without data spooling, 
>> at the same time with the same pool and only one tape drive, the data will 
>> be mixed on the volume? 
> 
> That depends. If the job not spooling finishes before the spooling job
> despools there will be no mixing.  In any case data will not be
> interleaved while a job is despooling, because it locks all other
> threads during the despooling.
> 
>> And a possible restore will take a long long time?
> 
> The restore might possibly take a little longer if the data is heavily
> interleaved, but if it is a modern tape drive, skipping data from
> another job should be very fast, and you probably won't see the difference.
> 
> Best regards,
> Kern
> 
>> 
>> Thanks,
>> Patrick
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users AT lists.sourceforge DOT net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>> 
> 


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
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>
  • Re: [Bacula-users] Two Jobs same Pool one with Spooling and one without, Patrick <=