Patched.
amanda@marlin:~/daily$ amcheck -s -otaperscan=taper_lexical daily
Amanda Tape Server Host Check
-----------------------------
NOTE: Holding disk '/amanda3': 449998848 KB disk space available, using
345141248 KB
NOTE: Holding disk '/amanda4': 3026923520 KB disk space available, using
2922065920 KB
NOTE: Holding disk '/amanda5': 104857600 KB disk space available, using
0 KB
slot 19: volume 'Bio-Research-007'
Will write to volume 'Bio-Research-007' in slot 19.
NOTE: skipping tape-writable test
Server check took 20.422 seconds
(brought to you by Amanda 3.5.1)
amanda@marlin:~/daily$
Here is the whole /tmp/amanda/server/daily/amcheck-device.20201013205425.debug
It's a little bit longer, going through the inventory more than once.
Tue Oct 13 20:54:25.550354229 2020: pid 15972: thd-0x12d4800:
amcheck-device: pid 15972 ruid 555
euid 555 version 3.5.1: start at Tue Oct 13 20:54:25 2020
Tue Oct 13 20:54:25.550685367 2020: pid 15972: thd-0x12d4800:
amcheck-device: config_overrides:
taperscan taper_lexical
Tue Oct 13 20:54:25.550831476 2020: pid 15972: thd-0x12d4800:
amcheck-device: reading config
file /usr/local/etc/amanda/daily/amanda.conf
Tue Oct 13 20:54:25.612658533 2020: pid 15972: thd-0x12d4800:
amcheck-device: pid 15972 ruid 555
euid 555 version 3.5.1: rename at Tue Oct 13 20:54:25 2020
Tue Oct 13 20:54:25.643990167 2020: pid 15972: thd-0x12d4800:
amcheck-device: chg-robot: using
statefile
'/usr/local/var/amanda/chg-robot-dev-tape-by-id-scsi-1BDT-FlexStor-II-00MX64200626-LL0'
Tue Oct 13 20:54:25.662486365 2020: pid 15972: thd-0x12d4800:
amcheck-device: invoking
/usr/sbin/mtx -f /dev/tape/by-id/scsi-1BDT_FlexStor_II_00MX64200626_LL0
status
Tue Oct 13 20:54:26.295441930 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Changer /dev/tape/by-id/scsi-1BDT_FlexStor_II_00MX64200626_LL0:2 Drives, 48
Slots ( 0
Import/Export )
Tue Oct 13 20:54:26.314120367 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Data Transfer
Element 0:Full (Storage Element 19 Loaded):VolumeTag = 000007L7
Tue Oct 13 20:54:26.314231179 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Data Transfer
Element 1:Full (Storage Element 18 Loaded):VolumeTag = 000006L7
Tue Oct 13 20:54:26.314288072 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 1:Empty
Tue Oct 13 20:54:26.314346671 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 2:Empty
Tue Oct 13 20:54:26.314397525 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 3:Full :VolumeTag=000015L7
Tue Oct 13 20:54:26.314459720 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 4:Full :VolumeTag=000016L7
Tue Oct 13 20:54:26.314512714 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 5:Full :VolumeTag=000017L7
Tue Oct 13 20:54:26.314571527 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 6:Full :VolumeTag=000014L7
Tue Oct 13 20:54:26.314619709 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 7:Empty
Tue Oct 13 20:54:26.314662419 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 8:Empty
Tue Oct 13 20:54:26.314713070 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 9:Full :VolumeTag=000021L7
Tue Oct 13 20:54:26.314767855 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 10:Full :VolumeTag=000018L7
Tue Oct 13 20:54:26.314815482 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 11:Empty
Tue Oct 13 20:54:26.314861223 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 12:Empty
Tue Oct 13 20:54:26.314907435 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 13:Full :VolumeTag=000001L7
Tue Oct 13 20:54:26.314961246 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 14:Full :VolumeTag=000013L7
Tue Oct 13 20:54:26.315011854 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 15:Full :VolumeTag=000003L7
Tue Oct 13 20:54:26.315061469 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 16:Full :VolumeTag=000004L7
Tue Oct 13 20:54:26.315112449 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 17:Full :VolumeTag=000005L7
Tue Oct 13 20:54:26.315158231 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 18:Empty
Tue Oct 13 20:54:26.315198333 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 19:Empty
Tue Oct 13 20:54:26.315245593 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 20:Full :VolumeTag=000008L7
Tue Oct 13 20:54:26.315295698 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 21:Full :VolumeTag=000009L7
Tue Oct 13 20:54:26.315350083 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 22:Full :VolumeTag=000010L7
Tue Oct 13 20:54:26.315414589 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 23:Full :VolumeTag=000011L7
Tue Oct 13 20:54:26.315467101 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 24:Full :VolumeTag=000012L7
Tue Oct 13 20:54:26.315515298 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 25:Full :VolumeTag=000028L7
Tue Oct 13 20:54:26.315563871 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 26:Full :VolumeTag=000029L7
Tue Oct 13 20:54:26.315611480 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 27:Full :VolumeTag=000030L7
Tue Oct 13 20:54:26.315661591 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 28:Full :VolumeTag=000031L7
Tue Oct 13 20:54:26.315709741 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 29:Full :VolumeTag=000032L7
Tue Oct 13 20:54:26.315757088 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 30:Full :VolumeTag=000033L7
Tue Oct 13 20:54:26.315804303 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 31:Full :VolumeTag=000034L7
Tue Oct 13 20:54:26.315851677 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 32:Full :VolumeTag=000035L7
Tue Oct 13 20:54:26.315905924 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 33:Full :VolumeTag=000036L7
Tue Oct 13 20:54:26.315961784 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 34:Full :VolumeTag=000037L7
Tue Oct 13 20:54:26.316009480 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 35:Full :VolumeTag=000038L7
Tue Oct 13 20:54:26.316060368 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 36:Full :VolumeTag=000039L7
Tue Oct 13 20:54:26.316108012 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 37:Full :VolumeTag=000040L7
Tue Oct 13 20:54:26.316154174 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 38:Full :VolumeTag=000041L7
Tue Oct 13 20:54:26.316201349 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 39:Full :VolumeTag=000042L7
Tue Oct 13 20:54:26.316244326 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 40:Empty
Tue Oct 13 20:54:26.316283633 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 41:Empty
Tue Oct 13 20:54:26.316322178 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 42:Empty
Tue Oct 13 20:54:26.316365392 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 43:Full :VolumeTag=000043L7
Tue Oct 13 20:54:26.316408897 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 44:Empty
Tue Oct 13 20:54:26.316446798 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 45:Empty
Tue Oct 13 20:54:26.316484931 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 46:Empty
Tue Oct 13 20:54:26.316527663 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 47:Full :VolumeTag=CLN001CU
Tue Oct 13 20:54:26.316575636 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 48:Full :VolumeTag=CLN002CU
Tue Oct 13 20:54:26.316745880 2020: pid 15972: thd-0x12d4800:
amcheck-device: NEO200x48:
updating state
Tue Oct 13 20:54:26.323022240 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 0 label:
Bio-Research-013ds: 0
Tue Oct 13 20:54:26.324600539 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 1 label:
Bio-Research-003ds: 0
Tue Oct 13 20:54:26.324729788 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 2 label:
Bio-Research-004ds: 0
Tue Oct 13 20:54:26.324949676 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 3 label:
Bio-Research-005ds: 0
Tue Oct 13 20:54:26.325064674 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 4 label:
Bio-Research-006ds: 0
Tue Oct 13 20:54:26.325194424 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 5 label:
Bio-Research-007ds: 0
Tue Oct 13 20:54:26.325353364 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 6 label:
Bio-Research-008ds: 0
Tue Oct 13 20:54:26.325433374 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 7 label:
Bio-Research-009ds: 0
Tue Oct 13 20:54:26.325562167 2020: pid 15972: thd-0x12d4800:
amcheck-device: warning: Use of
uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.22.1/Amanda/Taper/Scan/lexical.pm line 102.
Tue Oct 13 20:54:26.325586519 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 8 label:
Bio-Research-010ds:
Tue Oct 13 20:54:26.325626528 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable start: label: Bio-Research-010 barcode: 000010L7
Tue Oct 13 20:54:26.325664020 2020: pid 15972: thd-0x12d4800:
amcheck-device: warning: Use of
uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.22.1/Amanda/Taper/Scan/lexical.pm line 102.
Tue Oct 13 20:54:26.325685352 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 9 label:
Bio-Research-011ds:
Tue Oct 13 20:54:26.325707854 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable start: label: Bio-Research-011 barcode: 000011L7
Tue Oct 13 20:54:26.325729651 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 10 label:
Bio-Research-012ds: 0
Tue Oct 13 20:54:26.325805703 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 11 label:
Bio-Research-028ds: 0
Tue Oct 13 20:54:26.325894084 2020: pid 15972: thd-0x12d4800:
amcheck-device: warning: Use of
uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.22.1/Amanda/Taper/Scan/lexical.pm line 102.
Tue Oct 13 20:54:26.325916532 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 12 label: ds: 0
Tue Oct 13 20:54:26.325955981 2020: pid 15972: thd-0x12d4800:
amcheck-device: warning: Use of
uninitialized value $label in concatenation (.) or string at
/usr/local/share/perl/5.22.1/Amanda/ScanInventory.pm line 687.
Tue Oct 13 20:54:26.325977594 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable start: label: barcode: 000029L7
Tue Oct 13 20:54:26.326020813 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable pre-matchlabel call
Tue Oct 13 20:54:26.326177972 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable post-matchlabel call
Tue Oct 13 20:54:26.326218483 2020: pid 15972: thd-0x12d4800:
amcheck-device: warning: Use of
uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.22.1/Amanda/Taper/Scan/lexical.pm line 102.
Tue Oct 13 20:54:26.326241193 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 13 label: ds: 0
Tue Oct 13 20:54:26.326279530 2020: pid 15972: thd-0x12d4800:
amcheck-device: warning: Use of
uninitialized value $label in concatenation (.) or string at
/usr/local/share/perl/5.22.1/Amanda/ScanInventory.pm line 687.
Tue Oct 13 20:54:26.326300914 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable start: label: barcode: 000030L7
Tue Oct 13 20:54:26.326319833 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable pre-matchlabel call
Tue Oct 13 20:54:26.326344086 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable post-matchlabel call
Tue Oct 13 20:54:26.326367032 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 14 label:
Bio-Research-029ds: 0
Tue Oct 13 20:54:26.326449231 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 15 label:
Bio-Research-030ds: 0
Tue Oct 13 20:54:26.326525937 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 16 label:
Bio-Research-031ds: 0
Tue Oct 13 20:54:26.326599450 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 17 label:
Bio-Research-032ds: 0
Tue Oct 13 20:54:26.326672580 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 18 label:
Bio-Research-033ds: 0
Tue Oct 13 20:54:26.326745528 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 19 label:
Bio-Research-034ds: 0
Tue Oct 13 20:54:26.326817072 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 20 label:
Bio-Research-035ds: 0
Tue Oct 13 20:54:26.326911891 2020: pid 15972: thd-0x12d4800:
amcheck-device: warning: Use of
uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.22.1/Amanda/Taper/Scan/lexical.pm line 102.
Tue Oct 13 20:54:26.326934541 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 21 label: ds: 0
Tue Oct 13 20:54:26.326972469 2020: pid 15972: thd-0x12d4800:
amcheck-device: warning: Use of
uninitialized value $label in concatenation (.) or string at
/usr/local/share/perl/5.22.1/Amanda/ScanInventory.pm line 687.
Tue Oct 13 20:54:26.326993531 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable start: label: barcode: 000038L7
Tue Oct 13 20:54:26.327012589 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable pre-matchlabel call
Tue Oct 13 20:54:26.327037932 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable post-matchlabel call
Tue Oct 13 20:54:26.327073329 2020: pid 15972: thd-0x12d4800:
amcheck-device: warning: Use of
uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.22.1/Amanda/Taper/Scan/lexical.pm line 102.
Tue Oct 13 20:54:26.327094729 2020: pid 15972: thd-0x12d4800:
amcheck-device: slot: 22 label: ds: 0
Tue Oct 13 20:54:26.327132062 2020: pid 15972: thd-0x12d4800:
amcheck-device: warning: Use of
uninitialized value $label in concatenation (.) or string at
/usr/local/share/perl/5.22.1/Amanda/ScanInventory.pm line 687.
Tue Oct 13 20:54:26.327153137 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable start: label: barcode: 000039L7
Tue Oct 13 20:54:26.327171934 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable pre-matchlabel call
Tue Oct 13 20:54:26.327195346 2020: pid 15972: thd-0x12d4800: amcheck-device:
volume_is_labelable post-matchlabel call
Tue Oct 13 20:54:26.330837215 2020: pid 15972: thd-0x12d4800:
amcheck-device: NEO200x48: too
early for another 'status' invocation
Tue Oct 13 20:54:26.331163347 2020: pid 15972: thd-0x12d4800:
amcheck-device: NEO200x48: loading
slot '19'
Tue Oct 13 20:54:26.331208773 2020: pid 15972: thd-0x12d4800:
amcheck-device: NEO200x48:
requested volume is already in drive 0
Tue Oct 13 20:54:26.331501560 2020: pid 15972: thd-0x12d4800:
amcheck-device: NEO200x48: polling
'tape:/dev/nst1' to see if it's ready
Tue Oct 13 20:54:26.334425623 2020: pid 15972: thd-0x12d4800:
amcheck-device: Device is in
variable block size
Tue Oct 13 20:54:45.080175753 2020: pid 15972: thd-0x12d4800:
amcheck-device: invoking
/usr/sbin/mtx -f /dev/tape/by-id/scsi-1BDT_FlexStor_II_00MX64200626_LL0
status
Tue Oct 13 20:54:45.777091283 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Changer /dev/tape/by-id/scsi-1BDT_FlexStor_II_00MX64200626_LL0:2 Drives, 48
Slots ( 0
Import/Export )
Tue Oct 13 20:54:45.777180474 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Data Transfer
Element 0:Full (Storage Element 19 Loaded):VolumeTag = 000007L7
Tue Oct 13 20:54:45.777275970 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Data Transfer
Element 1:Full (Storage Element 18 Loaded):VolumeTag = 000006L7
Tue Oct 13 20:54:45.777330512 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 1:Empty
Tue Oct 13 20:54:45.777387552 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 2:Empty
Tue Oct 13 20:54:45.777443127 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 3:Full :VolumeTag=000015L7
Tue Oct 13 20:54:45.777505426 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 4:Full :VolumeTag=000016L7
Tue Oct 13 20:54:45.777561655 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 5:Full :VolumeTag=000017L7
Tue Oct 13 20:54:45.777616684 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 6:Full :VolumeTag=000014L7
Tue Oct 13 20:54:45.777665315 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 7:Empty
Tue Oct 13 20:54:45.777706195 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 8:Empty
Tue Oct 13 20:54:45.777775903 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 9:Full :VolumeTag=000021L7
Tue Oct 13 20:54:45.777831686 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 10:Full :VolumeTag=000018L7
Tue Oct 13 20:54:45.777882374 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 11:Empty
Tue Oct 13 20:54:45.777923669 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 12:Empty
Tue Oct 13 20:54:45.777969029 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 13:Full :VolumeTag=000001L7
Tue Oct 13 20:54:45.778060008 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 14:Full :VolumeTag=000013L7
Tue Oct 13 20:54:45.778115719 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 15:Full :VolumeTag=000003L7
Tue Oct 13 20:54:45.778167333 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 16:Full :VolumeTag=000004L7
Tue Oct 13 20:54:45.778219851 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 17:Full :VolumeTag=000005L7
Tue Oct 13 20:54:45.778265720 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 18:Empty
Tue Oct 13 20:54:45.778306995 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 19:Empty
Tue Oct 13 20:54:45.778352177 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 20:Full :VolumeTag=000008L7
Tue Oct 13 20:54:45.778405612 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 21:Full :VolumeTag=000009L7
Tue Oct 13 20:54:45.778454866 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 22:Full :VolumeTag=000010L7
Tue Oct 13 20:54:45.778504198 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 23:Full :VolumeTag=000011L7
Tue Oct 13 20:54:45.778552666 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 24:Full :VolumeTag=000012L7
Tue Oct 13 20:54:45.778602663 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 25:Full :VolumeTag=000028L7
Tue Oct 13 20:54:45.778651247 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 26:Full :VolumeTag=000029L7
Tue Oct 13 20:54:45.778698990 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 27:Full :VolumeTag=000030L7
Tue Oct 13 20:54:45.778746248 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 28:Full :VolumeTag=000031L7
Tue Oct 13 20:54:45.778794299 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 29:Full :VolumeTag=000032L7
Tue Oct 13 20:54:45.778841766 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 30:Full :VolumeTag=000033L7
Tue Oct 13 20:54:45.778889166 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 31:Full :VolumeTag=000034L7
Tue Oct 13 20:54:45.778936882 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 32:Full :VolumeTag=000035L7
Tue Oct 13 20:54:45.778991174 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 33:Full :VolumeTag=000036L7
Tue Oct 13 20:54:45.779039960 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 34:Full :VolumeTag=000037L7
Tue Oct 13 20:54:45.779087372 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 35:Full :VolumeTag=000038L7
Tue Oct 13 20:54:45.779134923 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 36:Full :VolumeTag=000039L7
Tue Oct 13 20:54:45.779182662 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 37:Full :VolumeTag=000040L7
Tue Oct 13 20:54:45.779230866 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 38:Full :VolumeTag=000041L7
Tue Oct 13 20:54:45.779278320 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 39:Full :VolumeTag=000042L7
Tue Oct 13 20:54:45.779335031 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 40:Empty
Tue Oct 13 20:54:45.779375822 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 41:Empty
Tue Oct 13 20:54:45.779415682 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 42:Empty
Tue Oct 13 20:54:45.779459837 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 43:Full :VolumeTag=000043L7
Tue Oct 13 20:54:45.779504057 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 44:Empty
Tue Oct 13 20:54:45.779544013 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 45:Empty
Tue Oct 13 20:54:45.779583584 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 46:Empty
Tue Oct 13 20:54:45.779628069 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 47:Full :VolumeTag=CLN001CU
Tue Oct 13 20:54:45.779677707 2020: pid 15972: thd-0x12d4800:
amcheck-device: mtx: Storage
Element 48:Full :VolumeTag=CLN002CU
Tue Oct 13 20:54:45.779826561 2020: pid 15972: thd-0x12d4800:
amcheck-device: NEO200x48:
updating state
Tue Oct 13 20:54:45.787025194 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_utime : 0
Tue Oct 13 20:54:45.787047601 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_stime : 0
Tue Oct 13 20:54:45.787060635 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_maxrss : 30720
Tue Oct 13 20:54:45.787072896 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_ixrss : 0
Tue Oct 13 20:54:45.787084780 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_idrss : 0
Tue Oct 13 20:54:45.787096439 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_isrss : 0
Tue Oct 13 20:54:45.787107904 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_minflt : 7509
Tue Oct 13 20:54:45.787119531 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_majflt : 0
Tue Oct 13 20:54:45.787130922 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_nswap : 0
Tue Oct 13 20:54:45.787142082 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_inblock : 0
Tue Oct 13 20:54:45.787153209 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_oublock : 216
Tue Oct 13 20:54:45.787164397 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_msgsnd : 0
Tue Oct 13 20:54:45.787175517 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_msgrcv : 0
Tue Oct 13 20:54:45.787186533 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_nsignals: 0
Tue Oct 13 20:54:45.787197548 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_nvcsw : 13
Tue Oct 13 20:54:45.787208803 2020: pid 15972: thd-0x12d4800:
amcheck-device: ru_nivcsw : 29
Tue Oct 13 20:54:45.788127749 2020: pid 15972: thd-0x12d4800:
amcheck-device: pid 15972 finish
time Tue Oct 13 20:54:45 2020
On 10/13/20 4:11 PM, Nathan Stratton Treadway wrote:
On Tue, Oct 13, 2020 at 15:08:43 -0400, Chris Hoogendyk wrote:
End of /tmp/amanda/server/daily/amcheck-device.20201013150303.debug
[...]
Tue Oct 13 15:03:04.326400287 2020: pid 10777: thd-0x2688800:
amcheck-device: warning: Use of
uninitialized value $label in concatenation (.) or string at
/usr/local/share/perl/5.22.1/Amanda/ScanInventory.pm line 687.
Tue Oct 13 15:03:04.326421243 2020: pid 10777: thd-0x2688800:
amcheck-device:
volume_is_labelable start: label: barcode: 000029L7
Tue Oct 13 15:03:04.326444683 2020: pid 10777: thd-0x2688800:
amcheck-device:
volume_is_labelable pre-matchlabel call
Okay, great, this would seem to confirm the theory that passing an
uninitialed $label value into the match_labelstr() function is what's
triggering the crash.
Here's a new patch to try. I am not sure that it's really the
long-term-correct fix, but with some luck it will at least prevent the
crash you are currrently seeing and let you switch back to the oldest
taperscan.
You can either apply this patch file against the *original* version of
ScanInventory.pm, or just manually edit the previously-patched version
of the file to add the
$label='' if !defined $label;
just below the
debug("volume_is_labelable pre-matchlabel call");
line that appears in there now.
Given that a shot (and send the log file lines as usual)...
Nathan
----------------------------------------------------------------------------
Nathan Stratton Treadway - [email protected] - Mid-Atlantic region
Ray Ontko & Co. - Software consulting services - http://www.ontko.com/
GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239
Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239
--
---------------
Chris Hoogendyk
-
O__ ---- Systems Administrator, Retired
c/ /'_ --- Biology & Geosciences Departments
(*) \(*) -- 315 Morrill Science Center III
~~~~~~~~~~ - University of Massachusetts, Amherst
<[email protected]>
---------------
Erdös 4