On 2/10/22 10:15, egoitz--- via Bacula-users wrote: > and you try to add some new volumes, each one with a specific capacity, as > you launch the label command for this purpose in > bconsole, the new volume gets started using at just that very brief moment. > This causes you, to unable to then finish, that > label command or at least the impossibility of running later a "update > volume" command, for fixing the max volume size.
Hello egoitz, I have never heard of such a thing when labeling. The polling cycle to check if a volume is available is either 5 or 10 minutes, which is usually plenty of time to label a new volume. Any reason why you would manually set MaxVolumeBytes? Or manually set anything for that matter. Let Bacula manage these things for you. :) You should set "MaximumVolumeBytes" in your Pool(s), then, as Bacula creates a volume or moves a volume into the pool the volume inherits this setting (and some others). Optionally, you can create a scratch pool, set the "ScratchPool" setting in your normal pools to this scratch pool and when you label a volume, tell it to go into this scratch pool. By default, there is a pool called "Scratch" Bacula and treats this one special, and will automatically use it to pull media from when a volume is needed. Personally, I prefer to create separate scratch pools for each different "MediaType" I have and then also set the "RecyclePool" to the same as the "ScratchPool" setting in my pools so Bacula puts recycled volumes back into this specific scratch pool. This works well when you have (for example) a Full Pool, an Inc Pool, and a Diff pool with each using the same Scratch and Recycle pool settings. This way volumes don't get "stuck" in one of the pools when they are recycled and are available to be used in any pool when needed. Also, you can "stop" a job, do the things you need to do, then 'resume' it - Unless you are using Bacula 11.0.5 because in this version the stop command actually cancels jobs. This bug has been fixed in the coming version though. And finally, you can set a "LabelFormat" in your disk volume pools (try to keep it simple), and set "LabelMedia = yes" in your disk devices and Bacula will do this entire job for you automatically. Just make sure to also set MaximumVolumes to some sensible number so that you do not fill your disk partition(s) to capacity. ;) Hope some of this helps. :) Best regards, Bill -- Bill Arlofski w...@protonmail.com _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users