Set up a library of tapes in Bacula. I have a problem when I want to
label in bconsole.
* label barcode
3306 Issuing autochanger "slots" command.
Device "LibraryHP0" has 8 slots.
3306 Issuing autochanger "list" command.
The following Volumes will be labeled:
Volume slot
==============
1 270011L8
2 270012L8
3 .........
Sending label command for Volume "270011L8" Slot 1 ...
3999 Device "LibraryHP0" not found or could not be opened.
Label command failed for Volume 270011L8.
I've done the tests recommended in the documentation before
(mtx-changer, mt). They all work. In bconsole, I can properly execute
commands on the library: update slots, mount, un mount, status slots.
Unfortunately, the label and label barcode ends with an error as
mentioned above.
My configuration snippets:
The library and bacula-sd is installed on a different host than bacula-dir
bacula-sd.conf
Autochanger {
Name = LibraryHP0
Device = Drive0
Changer Device = /dev/sg5
Changer Command = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d"
}
Device {
Name = Drive0
Media Type = LTO8
Drive Index = 0
Archive Device = /dev/nst0 # Normal archive device
Autochanger = yes
LabelMedia = no
RandomAccess = no
AutomaticMount = yes
AlwaysOpen = yes
RemovableMedia = yes
Maximum Changer Wait = 600
Maximum Rewind Wait = 600
Maximum Open Wait = 600
Maximum Concurrent Jobs = 2
}
bacula-dir.conf
Autochanger {
Name = k-bacula3-sd-LibraryHP
Address = 192.168.1.100
SDPort = 9103
Password = "xxxxxxxxxxxxxxxxxxxx"
Device = LibraryHP0
Media Type = LTO-8
Maximum Concurrent Jobs = 10
Autochanger = k-bacula3-sd-LibraryHP
}
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users