-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I would strongly recommend not pursuing workarounds. This part of the software works just fine. I believe if your retention settings are correct, the pruning will happen by itself after a mount, and if they aren't no amount of manual pruning will save you.
Tilman Schmidt wrote: > I'm still wrestling with my problem of Bacula requesting a different > volume although the one already loaded is eligible to be recycled. [1] > As I cannot find a solution to the root problem I am now thinking about > workarounds. One idea I'm currently pursuing is to preventively prune > every volume after mounting it. > > What I'd need for that is a way to issue from a script a prune command > for the volume which is currently loaded in a specific standalone tape > drive. Unfortunately the "prune" command of bconsole requires the > volume name to be specified. Any ideas how to specify "currently mounted > volume" there? > > Note that the AutoPrune configuration directive does not help, because > it doesn't work in the presence of appendable but inaccessible volumes > in the pool. > > Thanks in advance, > Tilman > > [1] For details, see my postings: > > Date: Fri, 16 May 2008 12:20:59 +0200 > Subject: Repost: mounted tape not accepted if another one has already > been recycled > > Date: Fri, 08 Aug 2008 18:26:51 +0200 > Subject: Prune command does nothing unless the pool is requested? > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users - -- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI83/rmb+gadEcsb4RAvtlAJwNLrCVjejsdI0XaMGfDXSLug0f8QCeIA68 8Reo47fs7itgqigz5r/zHxI= =0FfE -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users