I had the same problem when I upgraded from v1.36. Once I defined and used an Autoloader resource things worked fine for me. Here are my resource records:
bacula-sd:
Device {
Maximum Changer Wait = 120
Name = "EXABYTE VXA-2 PacketLoader"
Archive Device = /dev/nst0 Media Type = "VXA Packet Tape"
Autochanger = Yes
# Changer Device = /dev/sg0
# Changer Command = "/usr/etc/bacula/mtx-changer %c %o %S %a %d" Always Open = Yes
Removable Media = Yes
Random Access = No
Minimum Block Size = 1024
Maximum Block Size = 1024
Hardware End of Medium = No
Fast Forward Space File = No
Backward Space Record = No Backward Space File = Yes
Forward Space Record = Yes
Forward Space File = Yes
Offline On Unmount = Yes
Label Media = Yes
Spool Directory = /mnt/disc/hda/part1/VXA-spool
}
Autochanger {
Name = "EXABYTE VXA 1x10 1U"
Device = "EXABYTE VXA-2 PacketLoader"
Changer Device = /dev/sg0 Changer Command = "/usr/etc/bacula/mtx-changer %c %o %S %a %d"
}
and bacula-dir:
Storage {
Name = "VXA-2"
Address = x.x.x.x
Password = "passwdhere"
Device = "EXABYTE VXA 1x10 1U"
MediaType = "VXA Packet Tape"
Autochanger = "yes"
}
Hope this helps.
bacula-sd:
Device {
Maximum Changer Wait = 120
Name = "EXABYTE VXA-2 PacketLoader"
Archive Device = /dev/nst0 Media Type = "VXA Packet Tape"
Autochanger = Yes
# Changer Device = /dev/sg0
# Changer Command = "/usr/etc/bacula/mtx-changer %c %o %S %a %d" Always Open = Yes
Removable Media = Yes
Random Access = No
Minimum Block Size = 1024
Maximum Block Size = 1024
Hardware End of Medium = No
Fast Forward Space File = No
Backward Space Record = No Backward Space File = Yes
Forward Space Record = Yes
Forward Space File = Yes
Offline On Unmount = Yes
Label Media = Yes
Spool Directory = /mnt/disc/hda/part1/VXA-spool
}
Autochanger {
Name = "EXABYTE VXA 1x10 1U"
Device = "EXABYTE VXA-2 PacketLoader"
Changer Device = /dev/sg0 Changer Command = "/usr/etc/bacula/mtx-changer %c %o %S %a %d"
}
and bacula-dir:
Storage {
Name = "VXA-2"
Address = x.x.x.x
Password = "passwdhere"
Device = "EXABYTE VXA 1x10 1U"
MediaType = "VXA Packet Tape"
Autochanger = "yes"
}
Hope this helps.
> I'm having a problem with my exabyte VXA-2 (10 tape autoloader) and
> bacula v. 1.38.2.
> When I try to run the label command, bacula-sd crashes like so....
Find your next car at Yahoo! Canada Autos