Hi,

Ahhh, I didnt think that was an issue as I have 74 volumes on disk.

root@am4:/bacula/backup# ls -l |wc -l
74
root@am4:/bacula/backup#

However

 *list pools
Using Catalog "MyCatalog"
+--------+------------+---------+---------+-----------------+--------------+---------+----------+-------------+
| PoolId | Name       | NumVols | MaxVols | MaxVolBytes     | VolRetention
| Enabled | PoolType | LabelFormat |
+--------+------------+---------+---------+-----------------+--------------+---------+----------+-------------+
|      1 | Default    |       4 |     100 |  53,687,091,200 |   31,536,000
|       1 | Backup   | *           |
|      2 | File       |   1,009 |   1,008 | 536,870,912,000 |   31,536,000
|       1 | Backup   | Vol-        |
|      3 | Scratch    |       0 |       0 |               0 |   31,536,000
|       1 | Backup   | *           |
|      4 | RemoteFile |   2,015 |   2,005 |  53,687,091,200 |   95,040,000
|       1 | Backup   | Remote-     |
+--------+------------+---------+---------+-----------------+--------------+---------+----------+-------------+
You have messages.

NumVols is 2005 and I have labeled 5 volumes so far I think, like doh.


*list media was interesting,

8><------
2,982 | Remote-2982   | Error     |       1 |              0 |        0 |
95,040,000 |       1 |    0 |         0 | File      |       1 |        0 |
NULL                | NULL       |
|   2,983 | Remote-2983   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,984 | Remote-2984   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,985 | Remote-2985   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,986 | Remote-2986   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,987 | Remote-2987   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,988 | Remote-2988   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,989 | Remote-2989   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,990 | Remote-2990   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,991 | Remote-2991   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,992 | Remote-2992   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,993 | Remote-2993   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,994 | Remote-2994   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,995 | Remote-2995   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,996 | Remote-2996   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,997 | Remote-2997   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,998 | Remote-2998   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   2,999 | Remote-2999   | Error     |       1 |              0 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
|   3,000 | Remote-3000   | Error     |       1 |            233 |        0
|   95,040,000 |       1 |    0 |         0 | File      |       1 |
 0 | NULL                | NULL       |
8><-----

A huge quantity of Error'd volumes, is there a safe way to purge the
error'd volumes (I assume inside mysql)?

I have maybe 1Tb to go on this job.  I suppose I could stop it?   If so how
do i do that pls?

This setup is years old I just keep doing a Debian in place upgrade, is
50gb too small for a file size these days?





On Mon, 4 Mar 2024 at 13:49, Bill Arlofski via Bacula-users <
bacula-users@lists.sourceforge.net> wrote:

> On 3/3/24 10:01, steven wrote:
> > I moved to a new bigger disk and now I have to label every volume.  I
> > have restarted both the bacula director + the storage node.
> >
> > How do I get auto-labeling to work again please?
> >
> > bacula-director          9.6.7-3        amd64  on Debian12
> >
> > root@bacula:/etc/bacula/conf.d# cat pools.conf
> > Pool {
> >           Name = RemoteFile
> >           Pool Type = Backup
> >           Label Format = "Remote-"
> >           Recycle = yes
> >           AutoPrune = yes
> >           Volume Retention = 1100 days
> >           Maximum Volume Bytes = 50G
> >           Maximum Volumes = 2000
> >           }
> >
> > Device {
> >     Name = FileStorage
> >     Media Type = File
> >     Archive Device = /bacula/backup
> >     LabelMedia = yes;                   # lets Bacula label unlabeled
> media
> >     Random Access = Yes;
> >     AutomaticMount = yes;               # when device opened, read it
> >     RemovableMedia = no;
> >     AlwaysOpen = no;
> >     Maximum Concurrent Jobs = 5
> > }
> >
>
> Hello Steven,
>
> With 1,100 day retention, 50GB volumes, and a limit of 2,000 volumes in
> this pool, my guess is that your Pool "RemoteFile"
> has reached the MaximumVolumes"
>
> What does the following bconsole command show for the numvols and maxvols
> for this pool?
>
> * list pools
>
> I am also guessing that since you have been manualkly adding/labeling new
> volumes, that there are more than 2,000 voilumes
> currently in this pool.
>
> Newer versions of Bacula will tell you in the job logs that the maximum
> number of volumes in a pool has been reached before
> asking for you to mount an appendable volume or to label a new one.
>
> If all my guesses are correct, just edit your pool and increase the
> "MaximumVolumes" setting, then, in bconsole:
>
> * reload
> * update pool=RemoteFile
>
> Then, run a job that uses this pool and it sould be OK now.
>
> If it is not OK, then please show a full joblog of the job that is asking
> for media, and also a list pools, and list media:
>
> * ll joblog jobid=xxxx
>
> * list pools
>
> * list media
>
>
> 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
>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to