Am 01.10.2015 um 20:17 schrieb Ana Emília M. Arruda: > On Thu, Oct 1, 2015 at 2:41 PM, Georg Altmann <geo...@george-net.de > <mailto:geo...@george-net.de>>wrote: > > > > > On Thu, Oct 1, 2015 at 11:17 AM, Ana Emília M. Arruda > > <emiliaarr...@gmail.com <mailto:emiliaarr...@gmail.com> > <mailto:emiliaarr...@gmail.com <mailto:emiliaarr...@gmail.com>>> wrote: > > > > Hello Georg, > > > > An unmount will not solve this for you. Maybe a Run After Job > > directive that in the case of a Job fail a script could delete the > > volume from catalog and the volume file in your archive device (if > > you're using tapes, this will be a little complicated...). This way > > another volume for the next job will be labeled correctly, but I'm > > affraid you will have a very large MediaId number in the case you > > have a large number of job failures... > > Oh, yes, my mistake again. I am only considering per job volume labeling > for file based storage. For tapes this does not make sense of course. > Using a Run Before directive, I could mark a mounted volume used and > this would trigger a new volume to be labeled, right? > > > Well, you mean use a Run After Job directive (with Runs On Failure set > to yes) to mark the volume as Used. Yes, this should work. I would take > care with this since it is possible that lots of unused volumes will > occupy your catalog.
True, but I find a lot of volumes with file storage much easier to handle than having multiple pools. Regards, Georg -- PGP-Key: 0x1E320E65 D150 7783 A0D1 7507 1266 C5B3 BBF1 9C42 1E32 0E65 I don't like the idea of secret agencies to analyse and archive personal communication. GnuPG is available as open source, free as as in freedom, as a countermeasure. I use http://www.enigmail.net/ for Mozilla Thunderbird. If you can, please use a frontend of your choice to send me encrypted e-mail. See http://www.gnupg.org/ for an overview.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
_______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel