Hello Bacula users,
we run bacula backup for a while now. We had to replace our Tandberg Tape-Library (StorageLoader LTO-5) by a
Quantum device (Superloader LTO-6) and have some problems now. Maybe someone can help.
First problem:
Starting Bacula this way doesn’t work anymore:
cd /etc/init.d
./bacula-dir start
Starting this way works fine:
cd /etc/init.d
bacula-dir /etc/bacula/bacula-dir.conf
I could live with that, but I wonder why this happened…
Next problem:
bconsole
update slots
Result:
…
3306 Issuing autochanger "slots" command.
Device "Autochanger" has 0 slots.
No slots in changer to scan.
But:
/usr/libexec/bacula/mtx-changer /dev/sg1 list 0 /dev/nst0 0
Or
/usr/libexec/bacula/mtx-changer /dev/sg1 slots
Or
/usr/libexec/bacula/mtx-changer /dev/sg1 load 3 /dev/nst0 0
All works fine, shows amount of slots and also the labels of stored tapes.
Entry in bacula-sd.conf:
Autochanger {
Name = Autochanger
Device = LTO-5
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/changer
}
Rights on /dev:
lrwxrwxrwx. 1 root root 3 Dec 2 09:38 changer -> sg1
crwxrwxrwx. 1 root tape 21, 1 Dec 2 09:38 sg1
It would be great if someone could help.
Rainer