On Mon, 2 Sept 2024 at 21:47, Melonic Overlord
Hello Melonic,
Welcome to the Bacularis user group.
For support for this specific tape library, I don't have a ready
answer, but I have a couple of generic advices for the tape devices
support in Bacula.
Bacula shifts responsibility for most of the tape device operation to
the operating system. Bacula works with SCSI tape devices available on
the SCSI bus. To configure the device files useful is to define udev
rules for changer device and tape drive devices. Alternatively there
can be used ready device files like here: /dev/tape/by-id. All of this
is for having constant device names in the system to use with Bacula
because the generic names like sg3 or nst5 can be variable between
system reboots.
Here are mine udev rules that in the past I defined for an old Exabyte
autoloader:
# cat /etc/udev/rules.d/55-bacula.rules
KERNEL=="sg[0-9]",
ATTRS{vendor}=="EXABYTE*",ATTRS{model}=="Exabyte 110L*", \
SYMLINK+="changer-exabyte-110l"
KERNEL=="nst[0-9]", ATTRS{vendor}=="IBM*",ATTRS{model}=="ULTRIUM-TD1*", \
SYMLINK+="tapedrive-ibm-lto1"
The script that Bacula uses to work with tape autochangers is
mtx-changer. It has a configuration file that enables to adapt the
script working to the changer. In many cases it is not needed, but
some devices require it. This mtx-changer script is used by Bacula
storage daemon and by Bacularis as well. So, if the autochanger will
work well with mtx-changer script in Bacula, it will work the same
well with Bacularis.
In Bacula you can find a couple of tests for autochanger and for tape
drives to check if Bacula will work with it well. These tests are
provided in the Bacula btape tool.
Once the tape library will work well with Bacula, here you can find
how to enable support for that in Bacularis:
https://bacularis.app/doc/brief/configuration.html#autochanger-management
Please let us know how it went.
Good luck!
Best regards,
Marcin Haba (gani)