Hello,
On 17.09.2005 08:49, Joe Rhett wrote:
Alright people, I seriously need an explanation here.
You have X volumes, which are each retained for Y retention time.
You can add another volume by labelling it.
If no free volume is available, and Recycle is enabled, Bacula should
recycle the oldest volume that is past the retention time, right?
Why wouldn't it?
And why would it add a non-existant volume to the media list, give it a name
(even though it has no physical existance) and ask you to mount it?
Wishful thinking?
The relevant sections of my configuration are quoted below. I may have
gotten something wrong, but it appears that the documentation is seriously
misleading in this regard.
Well, I do know that you can limit the number of volumes in a pool. I
did set up such pools, and they worked as expected, i.e. they recycle
volumes once all the volumes I wanted exist.
The key is to either prepare the right number of volumes manually or
limit the number of volumes in the pool explicitly. In the latter case,
the manual has the following information:
Maximum Volumes = <number>
This directive specifies the maximum number of volumes (tapes or
files) contained in the pool. This directive is optional, if omitted or
set to zero, any number of volumes will be permitted. In general, this
directive is useful for Autochangers where there is a fixed number of
Volumes, or for File storage where you wish to ensure that the backups
made to disk files do not become too numerous or consume too much space.
I'd recommend you set this to a reasonable number for your setup.
The other solution, manually preparing the volumes and disabling
automatic labeling is something I haven't tried yet. Concerning your
setup, I'd suggest to remove the label format directive - perhaps, when
set, this allows automatic labeling even when the corresponding SD
device setting is No. If you can verify that behaviour, it would be
worth a bug report, I think.
I don not see where the documentation is misleading except for, perhaps,
the last item above. After all, it states "Bacula can automatically
label Volumes if instructed to do so, but this feature is not yet fully
implemented." ;-)
If, after you changed your configuration accordingly, bacula still
insists on creating new volumes, you should run the director with lots
of debug output, capture that, find the places where it looks for a
volume to use, and post the relevant debug log parts to the list.
Arno
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users