Hi Gary,
If this is your drive configuration, you don´t need the "changer command" nor the "changer device" there. Instead, they should be configured in your autochanger resource:
Autochanger {
Name = AutochangerHP
Device = Drive-1, Drive-2 #how many drives do you have?
Changer Command = "/opt/local/bacula/scripts/mtx-changer %c %o %S
%a %d"
Changer Device = /dev/changer
}
# definition for a first drive
Device {
Name = Drive-1
Media Type = LTO-6
Archive Device = /dev/rmt/0cbn
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = yes;
Maximum Network Buffer Size = 262144
Maximum Block Size = 262144
Maximum File Size = 5GB
Autochanger = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c '/opt/local/sbin/tapeinfo -f %c |grep
TapeAlert|cat'"
## If you have smartctl, enable this, it has more info than
tapeinfo
## Alert Command = "sh -c 'smartctl -H -l error %c'"
}
Best regards,
Ana