From dstetner at uvic.ca Wed Sep 10 00:34:28 2025 From: dstetner at uvic.ca (Doug Stetner) Date: Tue, 9 Sep 2025 22:34:28 +0000 Subject: [smartmontools-support] Smartctl: Exception Message-ID: Hi reporting smartctl exception on a bad disk: Smartctl -V below output from failed command. ==================================================================== [xds at ceph0812 ~]$ sudo smartctl -a /dev/sds 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: ST18000NM004J Revision: E002 Compliance: SPC-5 User Capacity: 18,000,207,937,536 bytes [18.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: 0x5000c500d9af977b Serial number: ZR5BKJAQ0000C24584TV Device type: disk Transport protocol: SAS (SPL-3) Local Time is: Tue Sep 9 15:00:23 2025 PDT 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 Total blocks reassigned during format Total new blocks reassigned = 81 Power on minutes since format Current Drive Temperature: 47 C Drive Trip Temperature: 60 C Accumulated power on time, hours:minutes 19976:01 Manufactured in week 32 of year 2022 Specified cycle count over device lifetime: 50000 Accumulated start-stop cycles: 9 Specified load-unload count over device lifetime: 600000 Accumulated load-unload cycles: 37410 Elements in grown defect list: 81 Vendor (Seagate Cache) information Blocks sent to initiator = 1958438832 Blocks received from initiator = 4179058648 Blocks read from cache and sent to initiator = 1143709546 Number of read and write commands whose size <= segment size = 144016607 Number of read and write commands whose size > segment size = 345 Vendor (Seagate/Hitachi) factory information number of hours powered up = 19976.03 number of minutes until next internal SMART test = 36 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 30 0 30 38 66973.418 5 write: 0 0 0 0 0 24205.227 0 Non-medium error count: 0 Pending defect count:92552 Pending Defects: index, LBA and accumulated_power_on_hours follow 1: 0xba580 , 19971 Smartctl: Exception: json.cpp(39): Assertion failed: 'a' <= c && c <= 'z' Please inform smartmontools-support at listi.jpberlin.de, including output of smartctl -V. ==================================================================== [xds at ceph0812 ~]$ 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' From Christian.Franke at t-online.de Thu Sep 11 13:02:40 2025 From: Christian.Franke at t-online.de (Christian Franke) Date: Thu, 11 Sep 2025 13:02:40 +0200 Subject: [smartmontools-support] Smartctl: Exception In-Reply-To: References: Message-ID: <847961e6-bb88-f697-2a97-f9b31af9bd49@t-online.de> Hi, Doug Stetner wrote: > Hi reporting smartctl exception on a bad disk: > ... > [xds at ceph0812 ~]$ sudo smartctl -a /dev/sds > smartctl 7.1 2019-12-30 r5022 [x86_64-linux-4.18.0-553.8.1.el8_10.x86_64] (local build) > ... > Pending defect count:92552 Pending Defects: index, LBA and accumulated_power_on_hours follow > 1: 0xba580 , 19971 > Smartctl: Exception: json.cpp(39): Assertion failed: 'a' <= c && c <= 'z' > Please inform smartmontools-support at listi.jpberlin.de, including output of smartctl -V. This is fixed since smartctl 7.4 released 2023-08-01. -- Thanks, Christian