On vendredi, 23 septembre 2016 01.11:44 h CEST Thomas Plant wrote:
> Hello Community,
>
> we are running out of disk space on our file base storage for Bareos, as we
> are about to hit the 16TB size limit on our ext4 based Centos 6 Backup
> server.
>
> So I'd like to ask if I can configure a second storage device and Bareos
> will use it automagically?
>
> Today i have in the bareos-sd.conf:
>
> Device {
> Name = FileStorage
> Media Type = File
> Archive Device = /bareos
> LabelMedia = yes; # lets Bareos label unlabeled media
> Random Access = Yes;
> AutomaticMount = yes; # when device opened, read it
> RemovableMedia = no;
> AlwaysOpen = no;
> Maximum Concurrent Jobs = 20;
> }
>
> I thought to add something like this:
>
> Device {
> Name = FileStorage2
> Media Type = File
> Archive Device = /bareos2
> LabelMedia = yes; # lets Bareos label unlabeled media
> Random Access = Yes;
> AutomaticMount = yes; # when device opened, read it
> RemovableMedia = no;
> AlwaysOpen = no;
> Maximum Concurrent Jobs = 20;
> }
>
> So if 'FileStorage' fills up, it would create new volumes on 'FileStorage2'
> automatically? Any issues with restores, presuming above would work?
>
> We are currently on Bareos 14.2.2 on Centos 6.8 x86_64.
>
> Thanks for any hints,
> Thomas
Hi Thomas, I'm just having a question, ext4 as a limit of 1EB total partition
size and 16TB for one file, are you really touching that limit ?
Perhaps it would be easier to split backups into limited size volume like 1TB
each ?
Or said differently, why did you choose the strategy you're using right now.
It is possible to have several devices in a directory storage resource.
so basically in director storage configuration you will end up with
Storage {
Name = ...
sdaddress = xxxx
Device = FileStorage
Device = FileStorage2
Media Type = File
}
Now I'm not 100% sure about the expected behavior you want.
(Fill up FS1 first, then fill FS2)
It will have more to do with volume in pool, and my personal choice is to stay
away of things that "magically" do something I can't describe and be 100%
reproducible, and able to explain to operator.
But that's only my way of life :-)
--
Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch
Bareos Partner, openSUSE Member, fsfe fellowship
GPG KEY : D5C9B751C4653227
irc: tigerfoot
openSUSE Tumbleweed
Linux 4.7.4-1-default x86_64 GNU/Linux, nvidia: 367.44
Qt: 5.6.1, KDE Frameworks: 5.26.0, Plasma: 5.7.4, kmail2 5.3.0 (QtWebEngine)
--
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.