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

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to