>>>>> On Thu, 09 Dec 2021 10:03:16 -0600, Larry Rosenman said:
> 
> On 12/09/2021 9:42 am, Bill Arlofski via Bacula-users wrote:
> > On 12/8/21 07:08, Larry Rosenman wrote:
> >> I have a bunch of volumes that bacula seems to have forgotten about.
> >> Can you explain why?
> >> 
> >> Also, what SQL/etc can I do to fix it?
> >> 
> >> Attached are a DB list for the volumes, and the ls -l.
> >> 
> >> 
> >> --
> >> Larry Rosenman                     http://www.lerctr.org/~ler
> >> Phone: +1 214-642-9640                 E-Mail: l...@lerctr.org
> >> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106
> > 
> > Hello Larry,
> > 
> > Can you show `list pools` ?
> > 
> > I suspect that you have not set a "MaximumVolumes" in your pool(s).
> > 
> > If there is mo maximum volumes set, Bacula will continue to create new
> > volumes in favor of using existing volumes, even if
> > they are pruned/purged. (at least this is how it is documented and how
> > it is taught in Bacula Systems' Admin I course)
> > 
> > 
> > Hope this helps,
> > Bill
> > 
> > --
> > Bill Arlofski
> > w...@protonmail.com
> > 
> > 
> > 
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> ➜ bconsole
> Connecting to Director borg:9101
> 1000 OK: 10002 borg-dir Version: 11.0.5 (03 June 2021)
> Enter a period to cancel a command.
> *list pools
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> +--------+---------+---------+---------+----------+-------------+
> | poolid | name    | numvols | maxvols | pooltype | labelformat |
> +--------+---------+---------+---------+----------+-------------+
> |      1 | Default |     787 |       0 | Backup   | LERCTR-     |
> |      2 | Scratch |       0 |       0 | Backup   | *           |
> +--------+---------+---------+---------+----------+-------------+
> You have messages.
> *
> 
> It HAS recycled LOTS of other volumes.  So, I don't know why these are 
> "special".

Bacula will use volumes with VolStatus = Recycle before those will VolStatus =
Purged.  Maybe that is the reason?

Also, does your Storage definition in the bacula-dir.conf contain autochanger
= yes?  If so, what is the value of the InChanger field in the volumes that it
has been recycling?

__Martin


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to