I know I sent this to the mailing list and please forgive me
for trying again but I am really at a loss of what my next step needs to be to
get backup working.
A bit on my setup. I am running Debian 6 with a Dell
Powervault 122T. I can load tapes, and mount the tapes but when I tr y to run a
bacup from bconsole I get the following errors when I do a 'messages'.
KITSrv01-sd JobId 9: Fatal error: Device reservation failed
for JobId=9:
KITSrv01-dir JobId 9: Fatal error:
Storage daemon didn't accept Device
"PV-122T-1" because:
3924 Device "PV-122T-1" not in SD Device
resources.
In my bacla-sd.conf I have the following which shows the
device name: PV-122T-1 and -2
Device = PV-122T-1, PV-122T-2
Changer Command = "/usr/local/bacula/etc/mtx-changer %c
%o %S %a %d"
Changer Device = /dev/sg5
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
In bacla-dir.conf I have the following:
Write Bootstrap = "/var/lib/bacula/%c.bsr"
Thanks,
Hi Robert,
It looks like your Storage resource in your
bacula-dir.conf isn’t set up correctly. You have it pointing to a Device,
where it should be pointing to the Autochanger. You also mistyped your Media
Type as “VTO-2” instead of “LTO-2”.
Try these changes and let us know if you get different
results:
bacula-dir.conf
JobDefs {
…
Name = "DefaultJob"
Storage = PV-122T
…
}
Storage {
…
Name = PV-122T
Device = PV-122T
Media Type = LTO-2
…
}
Greg