Dear support group,
Sorry for bothering you, with what I think is a simple question, but I
can't figure out what is going wrong.
At this moment I have version 11 of Bacula and the Bacula Administation
Tool running on a Fedora 35 Server.
As backup drive I am using a Quantum Superloader 3 with an internal HP
LTO-4 drive connected to the onboard SCSI port.
So far I've got almost everything configured and up and running.
Up to the part the Superloader has to start working. Every time it quits
with the famous "bacula-sd JobId 548: 3991 Bad autochanger "loaded?
drive 0" command: ERR=Child exited with code 1. Results=cannot open SCSI
device '/dev/sg7' - Permission denied". So I've read the manual and
started Googling around, but I couldn't find anything that solves my
problem.
The superloader is known in the system as /dev/sch0 and also as /dev/sg7.
Both are owned by bacula and in the group bacula and have read write and
execute permissions.
The mtx-changer and mtx-changer.config have the same permissions
The drive has the same permissions, but when I remove the autochanger
part in the config, it runs flawless.
So, I returned the autochanger in the config, and run the autochanger
test from btape. No problems, everything works fine, so I concluded,
there is nothing wrong with the config file.
When I execute load/unload and slots commands as root in a terminal
window, the loader performs the asked operations.
But when I ask for a slot update from bconsole as well as BAT, the
message returned is "3306 Issuing autochanger "slots" command.
Device "Superloader3" has 0 slots."
It doesn't matter if I do this as normal user or as root, still the same
error.
I even tried to run the storage deamon as root, but that doesn't work
either.
I think I am missing something very small, but I can't figure out what I
am missing.
Can you help me out?
Best regards,
Ronald de Haan
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users