On Friday 02 March 2007 13:27, Simon Ekstrand wrote: > Kern Sibbald wrote: > > On Thursday 01 March 2007 21:19, lists wrote: > >> Hi, > >> > >> Kern Sibbald skrev: > >>> Hello, > >>> > >>> >From what you have described here, it appears that Bacula is recycling > >>> > a > >>> > >>> volume while it is being used or has been reserved for use. I am not > >>> sure what is going on for the following reasons: > >>> > >>> 1. You speak of rotation of volumes, but there is no such concept in > >>> Bacula. I am assuming you mean recycling of volumes. Please try to use > >>> the right terminology as it helps ensure proper understanding. > >> > >> Sorry about the lack of proper terminology. No, I don't mean recycling, > >> I mean when bacula switches from one Volume in a pool to the next, ie. > >> what happens when 'Volume Use Duration' is reached for a volume. I'm not > >> sure if that particular concept has a name. > > > > There is probably no explicit term, but if you speak about "expiration" > > of the volume use duration, I'll understand. > > > >>> 2. It appears that you are using Volume retention periods to attempt to > >>> force Bacula to use a different volume. This absolutely will not work. > >>> It is probably the main reason you are having problems. > >> > >> Sorry for the misunderstanding, no that's not what I'm trying to do. > >> A typical sample pool definition we're using: > >> > >> Pool { > >> Name = Default-Windows-94 > >> Pool Type = Backup > >> Recycle = yes > >> AutoPrune = yes > >> Volume Retention = 7 days > >> Volume Use Duration = 23h > >> LabelFormat = "Vol-windows-94" > >> } > >> > >> The problem we're encountering is when: > >> * Job A starts running. > >> * 'Volume Use Duration' is reached. > >> * Job B starts running but fails due to A still running and writing to > >> the old volume, preventing the new volume from being used. > >> * Job C, D, E have the same problem as B. > >> * Job A finishes. > >> * Job F starts running, the new volume is used since the old volume is > >> no longer being written to, so job G succeeds. > >> * Job G, H, I succeed. > > > > I can see a potential problem here, but since you snipped out the > > original text, I'm not sure what is going on. I'm not sure that this is > > really a bug, as it seems more likely to be a feature request. However, > > if you want to submit a bug report, I'll look at it. Be sure to include > > the above summary of what happens, your conf data submitted here, and as > > much job output showing the problem as possible. > > I suppose the feature request, if any, in this case would be that > 'Volume Use Duration' be handled in the same graceful manner as 'Maximum > Volume Bytes'. > > > If possible, please try to explain why the volume use duration is > > expiring while a job is running. Normally that happens at the end of a > > job -- perhaps it is because you have multiple simultaneous jobs writing > > so there may be a "race" condition here. > > I'll submit a bug report with as detailed information as possible so > it's available if someone decides to look into this further. I'm happy > with having solved the issue using Maximum Volume Bytes as detailed in > my other mail sent in this thread today.
I think I pretty much understand the problem, so it would be better at this point to submit a Feature Request rather than a bug report. It is a close call whether it is a bug or a feature, but in any case it is not something easily fixed and requires new code that I would only add in a future version, so a feature request seems more appropriate. > > Thanks again for the quick help. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users