我有带有三个 2 Tb 硬盘的 Bareos 存储守护程序 (bareos-sd)。我希望它们被视为一个存储,当前一个磁盘已满时,Bareos 会自动切换到下一个磁盘。现在,我将所有磁盘作为具有不同媒体类型的不同设备以及具有相应磁盘的存储。在 Job's Pool 中,我将 Sorage 设置为用逗号分隔我的三个 Storage。但是现在我的第一个磁盘已满,Bareos 不使用下一个磁盘。
问问题
792 次
1 回答
0
您必须指定另一个设备指令。取自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 {
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
}
于 2018-05-07T16:50:50.823 回答