User defined maximum volume capacity 107,374,182,400 exceeded on device, so where is to increase?

482 views
Skip to first unread message

Samuel Marischek

unread,
Sep 8, 2019, 4:24:02 PM9/8/19
to bareos-users
Hello all :)

using here Bareos 17.2 on UCS 4.4.1. I thought it was working, but it still seems a few settings do not fit. In the log in found that:

bareos-sd JobId 82: User defined maximum volume capacity 107,374,182,400 exceeded on device "FileStorage" (/var/lib/bareos/storage).
bareos
-sd JobId 82: Job Backup-peter.supertux.lan.2019-09-07_21.00.00_35 is waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "FileStorage" (/var/lib/bareos/storage)
Pool: Full
Media type: File





bareos-settings-ucs.png

So what is the right variable to set higher size? I found also the files on the hdd for this variables:

Pool {
 
Name = Full
 
Pool Type = Backup
 
Recycle = yes                       # Bareos can automatically recycle Volumes
 
AutoPrune = yes                     # Prune expired volumes
 
Volume Retention = 365 days         # How long should the Full Backups be kept? (#06)
 
Maximum Volume Bytes = 100 G
 
Maximum Volumes = 1
 
Label Format = "Full-"              # Volumes will be labeled "Full-<volume-id>"
}





Pool {
 
Name = Differential
 
Pool Type = Backup
 
Recycle = yes                       # Bareos can automatically recycle Volumes
 
AutoPrune = yes                     # Prune expired volumes
 
Volume Retention = 90 days          # How long should the Differential Backups be kept? (#09)
 
Maximum Volume Bytes = 10 G
 
Maximum Volumes = 1
 
Label Format = "Differential-"      # Volumes will be labeled "Differential-<volume-id>"
}



Pool {
 
Name = Incremental
 
Pool Type = Backup
 
Recycle = yes                       # Bareos can automatically recycle Volumes
 
AutoPrune = yes                     # Prune expired volumes
 
Volume Retention = 30 days          # How long should the Incremental Backups be kept?  (#12)
 
Maximum Volume Bytes = 1 G
 
Maximum Volumes = 1
 
Label Format = "Incremental-"       # Volumes will be labeled "Incremental-<volume-id>"
}



The space for backups is a zvol:
/dev/sdb1       435G    139G  275G   34% /var/lib/bareos/storage

Best Regards

Andreas Rogge

unread,
Sep 9, 2019, 3:22:24 AM9/9/19
to bareos...@googlegroups.com
Hi Samuel,

setting "Maximum Volumes = 1" does not make sense.
Please take a look at the volume management chapter in the docs[1]. If
you have more questions then, don't hesitate to ask.

Best Regards,
Andreas

[1] https://docs.bareos.org/TasksAndConcepts/VolumeManagement.html

Best Regards,
Andreas

--
Andreas Rogge andrea...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221-630693-86
http://www.bareos.com

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz

signature.asc

Spadajspadaj

unread,
Sep 9, 2019, 3:36:52 AM9/9/19
to bareos...@googlegroups.com

You've set Maximum Volumes for each of the pools to just one volume. So the SD won't automaticaly create more volumes than that. If the volume is filled to the brim, your system won't be able to allocate any more files because you prohibited it yourself.

Usually for File devices you also set Label Media options so the SD can automaticaly create more files if needed.

For convenience it's also quite custom to set Maximum Volume Jobs to 1 so each backup is stored on separate file (or set of files) and is easily identifiable for i.e. off-site export.

So you should either raise your Maximum Volume Bytes settings or let SD create new files as needed by raising/removing Maximum Volumes Settings.

Both approaches have its pros and cons. If you set a strict limit for total file size (i.e. by setting single file size limit to 10G and file count limit to 20), you might run out of space "within bareos" if your backed up data exceeds said limit. If, on the other hand, you let SD allocate files on the fly without limits, it will do so as long as it can so if you exceed the total size of your disk you'll run into "out of disk space" errors.

It's up to you which approach you choose.

If you have a removable disk you might also go for a vchanger setup emulating a tape changer in a disk directory but that's way more tricky to set up (and I wouldn't advise it unless you have a strong understanding of Bareos inner working).


If something's not clear, don't hesitate to ask :-)

Best Regards,

MK

--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/e0268e30-4fbd-4803-b00f-21c7a4e46da9%40googlegroups.com.

Samuel Marischek

unread,
Sep 9, 2019, 7:35:04 PM9/9/19
to bareos-users
Thanks a lot for fast answer. Will configure the things new via documentaton. If i done i write here back :)
Reply all
Reply to author
Forward
0 new messages