On Friday 06 July 2007 23:33, Andreas Helmcke wrote: > Hello, > > Kern Sibbald wrote: > > I believe that I have now resolved this problem, as well as some others > > related to the new "minimal" pruning. I have tested it for proper recycling, > > but don't yet have a test involving the Scratch pool. If you have some way > > of testing this, I would appreciate your feedback. The new code was > > committed in SVN revision 5124. > > > > I have given rev. 5124 a try. Sadly to say it doesn't work like expected. > > Test: > fd, dir Version 2.1.24; sd SVN Rev. 5124 > > - I have removed (actually moved to export slots) all tapes which are in pools > default or scratch from automounter. > - There are plenty of tapes left in the autochanger which are in other pools > but could be recycled and for this pools RecyclePool is set to scratch. > - Started a job which uses pool default. > --> Job waiting for manual mount. > - Canceled the job. > > > Attachments: > job-log.txt: Log of the job. > bacula-sd-debug-rev5124.txt: debug-log at level 51 of sd
Many thanks, especially for doing it quickly -- testing speed is a great way to get a developer's attention and get something fixed :-) >From a quick look, I'd say the problem may be in the code that moves the volumes from pool to pool (I didn't work on that code). It looks like in the process the slot number might have been lost. I'll take a look at the source code today, and based on your results, I can probably come up with a decent regression test too. Regards, Kern > > > Andreas > > P.S: If you need more informations and/or tests, just ask. > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
