Are you sure that tape library drive index 0 is system device /dev/nsa0?
What mt -f /dev/nsa0 status show to you?
I bet that /dev/nsa1 is a drive index 0 and /dev/nsa0 is a drive index 1.
It was not until the autochanger test that bacula
even noticed drive 1 had no tape.
I do not understand your statement. In your log we can see:
sudo -u bacula btape -c /usr/local/etc/bacula/bacula-sd.conf /dev/nsa0 Tape block granularity is 1024 bytes. btape: butil.c:290 Using device: "/dev/nsa0" for writing. 24-Mar 10:20 btape: Fatal Error at device.c:298 because: dev open failed: dev.c:513 Unable to open device "SL24-0" (/dev/nsa0): ERR=Device not configured
24-Mar 10:20 btape JobId 0: Fatal error: butil.c:195 Cannot open "SL24-0" (/dev/nsa0) mandos# sudo -u bacula btape -c /usr/local/etc/bacula/bacula-sd.conf /dev/nsa1 Tape block granularity is 1024 bytes. btape: butil.c:290 Using device: "/dev/nsa1" for writing. btape: btape.c:477 open device "SL24-1" (/dev/nsa1): OK
Which shows that /dev/nsa0 reports error and /dev/nsa1 is working fine.
So it would seem that btape said it wrote
data to a tape that did not exist. What am I missing?
YMMV but all is working as expected but you do not checked what drive is what device in your system.