[smartmontools-support] Bug report, assertion failed

Christian Gottschall gottschall at boku.ac.at
Tue Oct 15 19:03:09 CEST 2024


To whom it may concern,

I have a disk for which smartctl fails with the following assertion, asking me to contact smartmontools-support at listi.jpberlin.de <mailto:smartmontools-support at listi.jpberlin.de>:

Smartctl: Exception: json.cpp(39): Assertion failed: 'a' <= c && c <= 'z'
Please inform smartmontools-support at listi.jpberlin.de, including output of smartctl -V.

As requested, I am enclosing the output of "smartctl -V“. The system is running AlmaLinux 8. The affected disk is a Seagate ST24000NM007H datacenter SAS disk with 24 TB.  ZFS is reporting 21 read errors on the disk which is why I was trying to query its SMART values. The command leading to the error was "smartctl -aA /dev/disk/by-id/scsi-SSEAGATE_ST24000NM007H_ZYD07LL3“ (but same happens with „-x“ instead of „-aA“). I am also enclosing the full output of the failing smartctl run.

The command does work for all other disks in the system, 11 of which being the same model.

Please let me know if I can provide further information.

Kind regards,
	Christian


[Full output of "smartctl -V“]

smartctl 7.1 2019-12-30 r5022 [x86_64-linux-4.18.0-553.8.1.el8_10.x86_64] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

smartctl comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it under
the terms of the GNU General Public License; either
version 2, or (at your option) any later version.
See http://www.gnu.org for further details.

smartmontools release 7.1 dated 2019-12-30 at 15:00:11 UTC
smartmontools SVN rev 5022 dated 2019-12-30 at 15:00:49
smartmontools build host: x86_64-redhat-linux-gnu
smartmontools build with: C++14, GCC 8.5.0 20210514 (Red Hat 8.5.0-21)
smartmontools configure arguments: '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-selinux' '--with-libcap-ng=yes' '--with-libsystemd' '--with-systemdsystemunitdir=/usr/lib/systemd/system' '--sysconfdir=/etc/smartmontools/' '--with-systemdenvfile=/etc/sysconfig/smartmontools' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'



[Full output of "smartctl -aA /dev/disk/by-id/scsi-SSEAGATE_ST24000NM007H_ZYD07LL3“]

smartctl 7.1 2019-12-30 r5022 [x86_64-linux-4.18.0-553.8.1.el8_10.x86_64] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              ST24000NM007H
Revision:             EE04
Compliance:           SPC-5
User Capacity:        24.000.277.250.048 bytes [24,0 TB]
Logical block size:   512 bytes
Physical block size:  4096 bytes
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c500f2e4c81b
Serial number:        ZYD07LL3
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Tue Oct 15 19:00:08 2024 CEST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Grown defects during certification <not available>
Total blocks reassigned during format <not available>
Total new blocks reassigned <not available>
Power on minutes since format <not available>
Current Drive Temperature:     40 C
Drive Trip Temperature:        60 C

Accumulated power on time, hours:minutes 2697:53
Manufactured in week 52 of year 2023
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  26
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  136
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 3178450856
  Blocks received from initiator = 3612063208
  Blocks read from cache and sent to initiator = 2820473289
  Number of read and write commands whose size <= segment size = 55163027
  Number of read and write commands whose size > segment size = 3802159

Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 2697,88
  number of minutes until next internal SMART test = 52

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0        0         0         0          4      47806,855           4
write:         0        0         0         0          0      28237,655           0

Non-medium error count:        0

  Pending defect count:8 Pending Defects: index, LBA and accumulated_power_on_hours follow
     1:  0x143020ff0       ,   2697
Smartctl: Exception: json.cpp(39): Assertion failed: 'a' <= c && c <= 'z'
Please inform smartmontools-support at listi.jpberlin.de, including output of smartctl -V.


[Full output of "smartctl -x /dev/disk/by-id/scsi-SSEAGATE_ST24000NM007H_ZYD07LL3“]

smartctl 7.1 2019-12-30 r5022 [x86_64-linux-4.18.0-553.8.1.el8_10.x86_64] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              ST24000NM007H
Revision:             EE04
Compliance:           SPC-5
User Capacity:        24.000.277.250.048 bytes [24,0 TB]
Logical block size:   512 bytes
Physical block size:  4096 bytes
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c500f2e4c81b
Serial number:        ZYD07LL3
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Tue Oct 15 19:00:46 2024 CEST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled
Read Cache is:        Enabled
Writeback Cache is:   Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Grown defects during certification <not available>
Total blocks reassigned during format <not available>
Total new blocks reassigned <not available>
Power on minutes since format <not available>
Current Drive Temperature:     40 C
Drive Trip Temperature:        60 C

Manufactured in week 52 of year 2023
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  26
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  136
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 3178450856
  Blocks received from initiator = 3612063208
  Blocks read from cache and sent to initiator = 2820473289
  Number of read and write commands whose size <= segment size = 55163027
  Number of read and write commands whose size > segment size = 3802159

Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 2697,88
  number of minutes until next internal SMART test = 51

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0        0         0         0          4      47806,855           4
write:         0        0         0         0          0      28237,655           0

Non-medium error count:        0

  Pending defect count:8 Pending Defects: index, LBA and accumulated_power_on_hours follow
     1:  0x143020ff0       ,   2697
Smartctl: Exception: json.cpp(39): Assertion failed: 'a' <= c && c <= 'z'
Please inform smartmontools-support at listi.jpberlin.de, including output of smartctl -V.



More information about the Smartmontools-support mailing list