Re: [Bacula-users] bacula can't make use of multi drives
2014-12-17 15:56:54
OK, I was able to get this working.
One of the major factors was upgrading my version of bacula from 5.2.6 to 7.0.5.
It appears there is a bug in 5.2.6 in which bacula gets confused with regards to which tape(volume) is in which drive and/or slot.
with 5.2.6, with my config files working, after backups ran for a few days the slots no longer matched in bacula with what mtx-changer listall
told me from command line and I was getting lots of errors and backups hanging.
After upgrading to 7.0.5 I no longer had this problem and my backups are running smoothly on 10 different drives using 3 different pools.
All is good for me here using multi drive configuration.
Thanks to Ana for extensive help to get this working.
Jared
Thanks for your reply.
My autochanger device definition in bacula-sd.conf is as follows. I removed unrelated changer commands in Drive resource directives as you suggested, maybe those direcives mess up bacula, I will see what happens.
Autochanger {
Name = AYKAutochanger
Device = Drive-1
Device = Drive-2
Device = Drive-3
Device = Drive-4
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg9
}
Best regards,
On 25-11-2014 18:25, Ana Emília M. Arruda wrote:
Hello,
Do you have an autochanger device definition in your bacula-sd.conf?
Autochanger {
Name = "AYKAutochanger"
Device = Drive-1, Drive-2, Drive-3, Drive-4
Changer Device = /dev/sg9
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
}
In your Drives definitions, you don´t need to have Changer Device nor Changer Command defined. The bellow lines should be removed from your drives definitions:
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
# Changer Device = /dev/changer
Changer Device = /dev/sg9
AutoChanger = yes
Best regards,
Ana
|
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|