>>>>> On Wed, 01 Feb 2006 23:57:22 +0100, Arno Lehmann <[EMAIL PROTECTED]> said: > > Hello, > > On 2/1/2006 1:55 PM, Florian Schnabel wrote: > > i still didn't find a reason for my problem ... > > bacula prunes old jobs, then i get an error no volume available, THEN > > the volume gets recycled and backup starts > > Well, this kind of confirms my suspicion that Baculas recycling > algorithm could be improved; I suspect that it first prunes volumes, > then jobs and files, and thus only prunes volumes during the next > recycling run.
I don't see that from the code, but it might be bug. After it fails to find an existing appendable or purged volume, it prunes volumes in the pool. This deletes jobs and files older than the volume retention period. The only operations that explicitly prune jobs and files according to their retention periods are autoprune (that can run after a job) and the console's prune command. Running the director at debug level 200 might help to track it down. The output of "list jobmedia" and "llist volumes" (note llist, not list) at the start and just after the sd prints the "Cannot find any appendable volumes" message would be good too. __Martin > > > i'll attach the messages, maybe someone can help me with that; > > i don't really like to get an error message every couple days > > Quite understandable. > > The easy work-around, and the reason why I usually don't see that > problem, might be to simply set up your volumes and retention so that > you always have a pruned volume available. > > > > > Florian > > > > --- > > > > 31-Jan 21:00 erde-dir: Start Backup JobId 1108, > > Job=Cetus_Job.2006-01-31_21.00.00 > > 31-Jan 21:00 erde-dir: Max configured use duration exceeded. Marking > > Volume "HD03" as Used. > > 31-Jan 21:01 erde-dir: Pruned 6 Jobs on Volume "HD01" from catalog. > > 31-Jan 21:01 erde-sd: Job Cetus_Job.2006-01-31_21.00.00 waiting. Cannot > > find any appendable volumes. > > Please use the "label" command to create a new Volume for: > > Storage: FileStorage > > Media type: File > > Pool: DaylyPool > > 31-Jan 22:01 erde-dir: Recycled volume "HD01" > > One hour later - the next regular try to find a usable volume, I guess. > > > 31-Jan 22:02 erde-sd: Recycled volume "HD01" on device "/opt/baculaHD", > > all previous data lost. > > erde-dir? An older standard SuSE installation? > > Arno > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > _______________________________________________ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > -- > IT-Service Lehmann [EMAIL PROTECTED] > Arno Lehmann http://www.its-lehmann.de > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users