I have two servers doing Amanda backups for two different departments. They are both Supermicro
servers running Ubuntu 16.04 with fairly recent patches and Amanda 3.5.1.
This evening I came in to swap magazines in the Overland NeoSeries tape libraries. We have just
begun a program to send a set of magazines out to Iron Mountain. The libraries had new magazines
with new LTO7 tapes that I had labeled with amlabel and then run through enough days of backups to
write them all. Now I'm taking those out, putting back in the original magazines, and sending the
new ones out to Iron Mountain. So, part of the point of saying all that is that I have done this
magazine swap previously. Once. Now, this evening, on both servers, I'm getting this error (ERROR:
amcheck-device terminated with signal 11). When I ran the amcheck before swapping magazines, it
worked. I then did an `amtape daily slot 2` to get it pointed at the beginning, went to the web
interface and unloaded that tape back into the magazine, swapped the magazines, and went back to amanda.
`amtape daily slot whatever` works. It returns telling me the label on the tape, and the web
interface shows it loaded.
`amlabel daily somelabel` works. It looks at the tape, reads the label, tells me that it is already
labeled and in use.
`amcheck daily` fails.
Any clues? I need to resolve this fairly quickly. The University is doing mandatory furloughs to
deal with their budget shortfalls, and I'm scheduled for a one week furlough starting Sunday. I will
update this later with information on whether the backups that are scheduled to start shortly end up
working. I presume they will at least go to holding disk, but whether they will write to the tape is
the question.
Following is the contents of the
/tmp/amanda/server/daily/amcheck-device.20201009215709.debug:
Fri Oct 09 21:57:09.046919855 2020: pid 24239: thd-0xc2e600: amcheck-device: pid 24239 ruid 555 euid
555 version 3.5.1: start at Fri Oct 9 21:57:09 2020
Fri Oct 09 21:57:09.047288267 2020: pid 24239: thd-0xc2e600: amcheck-device: reading config file
/usr/local/etc/amanda/daily/amanda.conf
Fri Oct 09 21:57:09.076905220 2020: pid 24239: thd-0xc2e600: amcheck-device: pid 24239 ruid 555 euid
555 version 3.5.1: rename at Fri Oct 9 21:57:09 2020
Fri Oct 09 21:57:09.105544741 2020: pid 24239: thd-0xc2e600: amcheck-device: chg-robot: using
statefile '/usr/local/var/amanda/chg-robot-dev-tape-by-id-scsi-1BDT-FlexStor-II-00MX64200626-LL0'
Fri Oct 09 21:57:09.124493185 2020: pid 24239: thd-0xc2e600: amcheck-device: invoking /usr/sbin/mtx
-f /dev/tape/by-id/scsi-1BDT_FlexStor_II_00MX64200626_LL0 status
Fri Oct 09 21:57:09.793516825 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage Changer
/dev/tape/by-id/scsi-1BDT_FlexStor_II_00MX64200626_LL0:2 Drives, 48 Slots ( 0 Import/Export )
Fri Oct 09 21:57:09.793592258 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Data Transfer
Element 0:Empty
Fri Oct 09 21:57:09.793645704 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Data Transfer
Element 1:Full (Storage Element 13 Loaded):VolumeTag = 01L7
Fri Oct 09 21:57:09.793696913 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 1:Empty
Fri Oct 09 21:57:09.793740270 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 2:Empty
Fri Oct 09 21:57:09.793779177 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 3:Full :VolumeTag=15L7
Fri Oct 09 21:57:09.793822925 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 4:Full :VolumeTag=16L7
Fri Oct 09 21:57:09.793860922 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 5:Full :VolumeTag=17L7
Fri Oct 09 21:57:09.793898857 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 6:Full :VolumeTag=14L7
Fri Oct 09 21:57:09.793932089 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 7:Empty
Fri Oct 09 21:57:09.793961884 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 8:Empty
Fri Oct 09 21:57:09.794026494 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 9:Full :VolumeTag=21L7
Fri Oct 09 21:57:09.794067771 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 10:Full :VolumeTag=18L7
Fri Oct 09 21:57:09.794102988 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 11:Empty
Fri Oct 09 21:57:09.794132586 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 12:Empty
Fri Oct 09 21:57:09.794164280 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 13:Empty
Fri Oct 09 21:57:09.794196459 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 14:Full :VolumeTag=13L7
Fri Oct 09 21:57:09.794233274 2020: pid 24239: thd-0xc2e600: amcheck-device: mtx: Storage
Element 15:Full :VolumeTag=03L7
Fri Oct 09 21:5