Mandi! Bill Arlofski via Bacula-users
  In chel di` si favelave...

>> But, now, a question: this mean that in spool data get interleaved too? How
>> they are interleaved? File by file? Block by block? What block size?
> No. When you have jobs running, take a look into the SpoolDirectory. You will 
> see a 'data' *.spool file and an 'attr' *.sppol 
> file for each job running.

>> There's no way to 'violate' this behaviour, right?! A single SD process
>> cannot spool and despool at the same time?
> An SD can be spooling multiple jobs wile *one* and only one Job spool file is 
> despooling to one drive.
> Add another drive and and the same is still true, but the SD can now be 
> despooling two jobs at the same time while other jobs 
> are spooling, and so on as you add drives.

Reading:
        https://www.bacula.org/11.0.x-manuals/en/main/Data_Spooling.html

I read (on top):

        While the spooled data is being written to the tape, the despooling 
process has exclusive use of the tape. This means that you can spool multiple 
simultaneous jobs to disk, then have them very efficiently despooled one at a 
time without having the data blocks from several jobs intermingled, thus 
substantially improving the time needed to restore files. While despooling, all 
jobs spooling continue running. 

and (on bottom):

        It is probably best to provide as large a spool file as possible to 
avoid repeatedly spooling/despooling. Also, while a job is despooling to tape, 
the File daemon must wait (i.e. spooling stops for the job while it is 
despooling).
        If you are running multiple simultaneous jobs, Bacula will continue 
spooling other jobs while one is despooling to tape, provided there is 
sufficient spool file space. 

So, trying to understand your answer:

1) bacula spool different jobs in different files on spool dir

2) when 'Maximum Spool Size' reached, bacula write to tape different
 spoolfiles one at a time, not 'mixing' them.

3) when bacula are despooling JobA, spooling of other JobX files continue;
 only JobA stop spooling files.

So seems to me that (clearly on a decent figure...) it is better to split
jobs then not...


Right?

-- 




_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to