Bacula-users

[Bacula-users] Concurrent backs to volumes in the same pool

2013-09-02 19:53:49
Subject: [Bacula-users] Concurrent backs to volumes in the same pool
From: Mike Brady <mike.brady AT devnull.net DOT nz>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 03 Sep 2013 11:33:22 +1200
I am trying to get concurrent backups using volumes from the same disk  
based pool running and am having an issue I cannot figure out.

The backups are running concurrently, but I sometimes get a "Job  
<jobid> is waiting. Cannot find any appendable volumes." message.  The  
job does retry and does eventually run successfully with out  
intervention.

What I cannot figure out is why this is occurring.  There are volumes  
available in the pool for purging/recycling, which is what eventually  
happens, and even if there weren't the number of volumes in the pool  
being used are not limited. So a new volume should be created if it is  
required.

To test the setup I have a schedule that runs 6 jobs at the same time  
every 10 minutes.  Each of the jobs is only about 20M is size.  I have  
noticed that if I make the filesets larger (200MB or more, but not  
sure where the boundary is) this problem does not seem to occur.

I have one pool defined as below
#----------------------------------------------------------------------------
Pool {
   Name = FullPool
   Pool Type = Backup
   Maximum Volume Jobs = 1
   Use Volume Once = yes
   Maximum Volume Bytes = 10G
   Recycle = yes
   Action On Purge = Truncate
   Auto Prune = yes
   Volume Retention = 1 hour
   Label Format = "FullPool-"
}

and 4 devices defined
#----------------------------------------------------------------------------
Device {
   Name = FileDevice01
   Device Type = File
   Media Type = File01
   Archive Device = /bacula_storage/FileDevice
   LabelMedia = yes;
   Random Access = Yes;
   AutomaticMount = yes;
   RemovableMedia = no;
   AlwaysOpen = no;
   Maximum Concurrent Jobs = 1;
}

#----------------------------------------------------------------------------
Device {
   Name = FileDevice02
   Device Type = File
   Media Type = File01
   Archive Device = /bacula_storage/FileDevice
   LabelMedia = yes;
   Random Access = Yes;
   AutomaticMount = yes;
   RemovableMedia = no;
   AlwaysOpen = no;
   Maximum Concurrent Jobs = 1;
}

#----------------------------------------------------------------------------
Device {
   Name = FileDevice03
   Device Type = File
   Media Type = File01
   Archive Device = /bacula_storage/FileDevice
   LabelMedia = yes;
   Random Access = Yes;
   AutomaticMount = yes;
   RemovableMedia = no;
   AlwaysOpen = no;
   Maximum Concurrent Jobs = 1;
}

#----------------------------------------------------------------------------
Device {
   Name = FileDevice04
   Device Type = File
   Media Type = File01
   Archive Device = /bacula_storage/FileDevice
   LabelMedia = yes;
   Random Access = Yes;
   AutomaticMount = yes;
   RemovableMedia = no;
   AlwaysOpen = no;
   Maximum Concurrent Jobs = 1;

Maximum Concurrent Jobs is set to 10 or more everywhere (director and  
SD) else so that it is the availability of a device that limits how  
many concurrent jobs can run (4 in this case).

I am happy to provide the rest configuration if needed.

Thanks

Mike




------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&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>
  • [Bacula-users] Concurrent backs to volumes in the same pool, Mike Brady <=