I replaced the last tape in my 48-slot library with a cleaning tape
since I'd rather not bother with manually cleaning the drive.  But this
appears to make amcheck segfault:

AMANDA:backup2:amanda/server/math> amcheck -s math
Amanda Tape Server Host Check
-----------------------------
NOTE: Holding disk '/local/amanda/work': 7617304 MB disk space available, using 
7617204 MB
ERROR: amcheck-device terminated with signal 11
Server check took 1.145 seconds
(brought to you by Amanda 3.4.5)

The generated amcheck-device log file doesn't appear to have any
problems; it's included at the end.

My only guess is that the last loaded tape has an odd label (which does
not match labelstr), and amanda has some issue with that.

amanda.conf has:
  labelstr "^C[0-9][0-9][0-9][0-9][0-9]$

I'll run and swap the cleaning tape back out just to triple check, but
this started immediately after I swapped the cleaning tape in.

 - J<

Here's the amcheck-device log file:

Wed Jun 28 16:04:56.256642259 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
pid 7589 ruid 33 euid 33 version 3.4.5: start at Wed Jun 28 16:04:56 2017
Wed Jun 28 16:04:56.257046150 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
reading config file /etc/amanda/math/amanda.conf
Wed Jun 28 16:04:56.292549518 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
pid 7589 ruid 33 euid 33 version 3.4.5: rename at Wed Jun 28 16:04:56 2017
Wed Jun 28 16:04:56.324069360 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
chg-robot: using statefile '/var/lib/amanda/chg-robot-dev-sg7'
Wed Jun 28 16:04:56.343513329 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
invoking /usr/sbin/mtx -f /dev/sg7 status
Wed Jun 28 16:04:57.061363299 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:   Storage Changer /dev/sg7:1 Drives, 48 Slots ( 0 Import/Export )
Wed Jun 28 16:04:57.061438518 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx: Data Transfer Element 0:Full (Storage Element 36 Loaded):VolumeTag = 
C00036L6
Wed Jun 28 16:04:57.061497882 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 1:Full :VolumeTag=C00001L6
Wed Jun 28 16:04:57.061553266 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 2:Full :VolumeTag=C00002L6
Wed Jun 28 16:04:57.061595450 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 3:Full :VolumeTag=C00003L6
Wed Jun 28 16:04:57.061635749 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 4:Full :VolumeTag=C00004L6
Wed Jun 28 16:04:57.061675558 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 5:Full :VolumeTag=C00005L6
Wed Jun 28 16:04:57.061712923 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 6:Full :VolumeTag=C00006L6
Wed Jun 28 16:04:57.061750358 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 7:Full :VolumeTag=C00007L6
Wed Jun 28 16:04:57.061789958 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 8:Full :VolumeTag=C00008L6
Wed Jun 28 16:04:57.061831793 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 9:Full :VolumeTag=C00009L6
Wed Jun 28 16:04:57.061895278 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 10:Full :VolumeTag=C00010L6
Wed Jun 28 16:04:57.061935646 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 11:Full :VolumeTag=C00011L6
Wed Jun 28 16:04:57.061973430 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 12:Full :VolumeTag=C00012L6
Wed Jun 28 16:04:57.062010516 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 13:Full :VolumeTag=C00013L6
Wed Jun 28 16:04:57.062047672 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 14:Full :VolumeTag=C00014L6
Wed Jun 28 16:04:57.062084897 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 15:Full :VolumeTag=C00015L6
Wed Jun 28 16:04:57.062121982 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 16:Full :VolumeTag=C00016L6
Wed Jun 28 16:04:57.062168706 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 17:Full :VolumeTag=C00017L6
Wed Jun 28 16:04:57.062206700 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 18:Full :VolumeTag=C00018L6
Wed Jun 28 16:04:57.062244274 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 19:Full :VolumeTag=C00019L6
Wed Jun 28 16:04:57.062281779 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 20:Full :VolumeTag=C00020L6
Wed Jun 28 16:04:57.062319074 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 21:Full :VolumeTag=C00021L6
Wed Jun 28 16:04:57.062356718 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 22:Full :VolumeTag=C00022L6
Wed Jun 28 16:04:57.062394153 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 23:Full :VolumeTag=C00023L6
Wed Jun 28 16:04:57.062432007 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 24:Full :VolumeTag=C00024L6
Wed Jun 28 16:04:57.062506667 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 25:Full :VolumeTag=C00025L6
Wed Jun 28 16:04:57.062544940 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 26:Full :VolumeTag=C00026L6
Wed Jun 28 16:04:57.062582934 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 27:Full :VolumeTag=C00027L6
Wed Jun 28 16:04:57.062620508 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 28:Full :VolumeTag=C00028L6
Wed Jun 28 16:04:57.062657594 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 29:Full :VolumeTag=C00029L6
Wed Jun 28 16:04:57.062695168 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 30:Full :VolumeTag=C00030L6
Wed Jun 28 16:04:57.062732184 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 31:Full :VolumeTag=C00031L6
Wed Jun 28 16:04:57.062772832 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 32:Full :VolumeTag=C00032L6
Wed Jun 28 16:04:57.062814317 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 33:Full :VolumeTag=C00033L6
Wed Jun 28 16:04:57.062852101 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 34:Full :VolumeTag=C00034L6
Wed Jun 28 16:04:57.062899942 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 35:Full :VolumeTag=C00035L6
Wed Jun 28 16:04:57.062936958 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 36:Empty
Wed Jun 28 16:04:57.062975021 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 37:Full :VolumeTag=C00037L6
Wed Jun 28 16:04:57.063012666 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 38:Full :VolumeTag=C00038L6
Wed Jun 28 16:04:57.063049542 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 39:Full :VolumeTag=C00039L6
Wed Jun 28 16:04:57.063086418 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 40:Full :VolumeTag=C00040L6
Wed Jun 28 16:04:57.063122875 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 41:Full :VolumeTag=C00041L6
Wed Jun 28 16:04:57.063159402 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 42:Full :VolumeTag=C00042L6
Wed Jun 28 16:04:57.063195789 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 43:Full :VolumeTag=C00043L6
Wed Jun 28 16:04:57.063232316 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 44:Full :VolumeTag=C00044L6
Wed Jun 28 16:04:57.063268494 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 45:Full :VolumeTag=C00045L6
Wed Jun 28 16:04:57.063304811 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 46:Full :VolumeTag=C00046L6
Wed Jun 28 16:04:57.063341268 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 47:Full :VolumeTag=C00047L6
Wed Jun 28 16:04:57.063380239 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
mtx:       Storage Element 48:Full :VolumeTag=CLNU01L1
Wed Jun 28 16:04:57.063491007 2017: pid 7589: thd-0x1e71e00: amcheck-device: 
neo-t48: updating state

Reply via email to