This is an example of my Autochanger listing in the bacula-sd.conf, this is only a partial list but you would follow that format. My autochanger has 16 slots and a drive, the drive-1 is the writing drive.
AutoChanger {
Name = AutoChanger
Device = Drive-1, Drive-2, Drive-3, Drive-4, Drive-5, Drive-6, Drive-7, Drive-8, Drive-9, Drive-10, Drive-11, Drive-12, Drive-13, Drive-14, Drive-15, Drive-16, Drive-17
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg1
}
Device {
Name = Drive-1 #
Drive Index = 0
Media Type = LTO5
Archive Device = /dev/st0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
}
You also don't need this information in your storage section:
Device = AutochangerOdin
Media Type = LTO6
Autochanger = yes # enable for autochanger device