我有三个2 Tb硬盘的Bareos存储守护进程(bareos-sd)。我希望它们被视为一个存储,当前一个磁盘已满时,Bareos会自动切换到下一个磁盘上。现在,我有了所有的磁盘作为不同的设备与不同的媒体类型和存储与相应的磁盘。在Job's Pool中,我将Sorage设置为逗号分隔的三个存储。但是现在我的第一个磁盘已满,并且Bareos不使用下一个磁盘。
发布于 2018-05-08 00:50:51
您必须指定另一个设备指令。摘自http://www.bacula.org/5.0.x-manuals/en/main/main/Storage_Daemon_Configuratio.html
If you want to write into more than one directory (i.e. to spread the load to different disk drives), you will need to define two Device resources, each containing an Archive Device with a different directory所以只需创建另一个' device‘指令,这样您就有了两个device指令,如下所示:
Device {
Name = FifoStorage
Media Type = Fifo
Device Type = Fifo
Archive Device = /folder1
LabelMedia = yes
Random Access = no
AutomaticMount = no
RemovableMedia = no
MaximumOpenWait = 60
AlwaysOpen = no
}
Device {
Name = FifoStorage2
Media Type = Fifo
Device Type = Fifo
Archive Device = /folder2
LabelMedia = yes
Random Access = no
AutomaticMount = no
RemovableMedia = no
MaximumOpenWait = 60
AlwaysOpen = no
}https://stackoverflow.com/questions/46831510
复制相似问题