Pool not deleted from catalog

11 views
Skip to first unread message

Rui Loureiro

unread,
Oct 10, 2024, 6:44:01 AM10/10/24
to bacularis
Hi Marcin,

I notice that when I remove a Pool from the director configuration, the Pool remains in the catalog. Is this normal behavior? To solve the problem I had to go to bconsole, run the reload command and run the delete pool command.

Best Regards,
Rui

Marcin Haba

unread,
Oct 10, 2024, 7:23:06 AM10/10/24
to Rui Loureiro, bacularis
On Thu, 10 Oct 2024 at 12:44, Rui Loureiro <ruilou...@gmail.com> wrote:
>
> Hi Marcin,
>
> I notice that when I remove a Pool from the director configuration, the Pool remains in the catalog. Is this normal behavior? To solve the problem I had to go to bconsole, run the reload command and run the delete pool command.

Hi Rui,

Bacularis does not support the 'delete pool=XXX' command yet. This is
a function that can be added. At the moment I added it to my feature
list to implement in Bacularis. Thanks!

The situation with the catalog records is different for different
resources. The general Bacularis approach in case orphaned records in
the catalog is to not list them. Bacularis displays only resources
that exist in the Bacula configuration. Normally to remove the
orphaned records from db we use the Bacula 'dbcheck' tool however not
for pools :-) For storage records the situation is even more different
because we don't have any native Bacula command or tool to remove
them.

Best regards,
Marcin Haba (gani)

Rui Loureiro

unread,
Oct 10, 2024, 9:20:32 AM10/10/24
to bacularis
HI Marcin,

You may check if the number of volumes in the pool it's equal to zero. In general, pools with no volumes and no resource in the director are orphaned pools.

Best Regards,
Rui

Marcin Haba

unread,
Oct 10, 2024, 9:25:40 AM10/10/24
to Rui Loureiro, bacularis
On Thu, 10 Oct 2024 at 15:20, Rui Loureiro <ruilou...@gmail.com> wrote:
>
> HI Marcin,
>
> You may check if the number of volumes in the pool it's equal to zero. In general, pools with no volumes and no resource in the director are orphaned pools.

Hi Rui,

Sure. Thanks.
Reply all
Reply to author
Forward
0 new messages