Opened 5 years ago

Closed 5 years ago

#1167 closed defect (worksforme)

wrong temperature in smartd but correct in smartctl

Reported by: Xuefer H Owned by:
Priority: minor Milestone:
Component: smartd Version: 7.0
Keywords: Cc:

Description (last modified by Christian Franke)

# smartctl -a /dev/sda | grep -i tem
194 Temperature_Celsius     0x0002   130   130   000    Old_age   Always       -       46 (Min/Max 14/61)
# smartctl -a /dev/sdb | grep -i temp
194 Temperature_Celsius     0x0022   110   105   000    Old_age   Always       -       42

WDC_WD4002FYYZ_01B7CB0-K4HZE9JB.ata.csv:2019-02-20 08:26:00;    1;100;0;        2;132;125;      3;154;34383659334;      4;98;10433;     5;100;0;        7;100;0;        8;128;18;   9;99;11882;     10;100;0;       12;100;921;     192;90;13091;   193;90;13091;   194;130;261993922606;   196;100;0;      197;100;0;      198;100;0;      199;200;8;

WDC_WD40EFRX_68WT0N0-WD_WCC4E2LTEA6N.ata.csv:2019-02-20 08:26:00;       1;200;0;        3;181;7933;     4;100;867;      5;200;0;        7;200;0;        9;88;9272;      10;100;0;   11;100;0;       12;100;269;     192;200;211;    193;197;11237;  194;110;42;     196;200;0;      197;200;0;      198;100;0;      199;200;0;      200;100;0;

i suppose it's property 194, while 194;110;42 seems good, but 194;130;261993922606 ? i have no idea

# smartd --version
smartd 7.1 2019-01-11 r4891 [x86_64-linux-4.20.8-gentoo] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

smartd 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 2018-12-30 at 14:47:55 UTC
smartmontools SVN rev 4891 dated 2019-01-11 at 10:30:41
smartmontools build host: x86_64-pc-linux-gnu
smartmontools build with: C++14, GCC 4.2.1 Compatible Clang 6.0.1 (tags/RELEASE_601/final)
smartmontools configure arguments: '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-dependency-tracking' '--disable-silent-rules' '--docdir=/usr/share/doc/smartmontools-9999' '--htmldir=/usr/share/doc/smartmontools-9999/html' '--libdir=/usr/lib64' '--with-drivedbdir=/var/db/smartmontools' '--with-initscriptdir=/etc/init.d' '--without-libcap-ng' '--without-selinux' '--without-libsystemd' '--without-gnupg' '--without-update-smart-drivedb' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CXX=clang++' 'CXXFLAGS=-O2 -pipe -Wno-error=varargs -Wno-error=parentheses-equality -flto=thin' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-O2 -Wl,--as-needed -flto=thin -fuse-ld=gold' 'CC=clang' 'CFLAGS=-O2 -pipe -pipe -O2 -march=znver1 -Wno-error=varargs -Wno-error=parentheses-equality -flto=thin' 'PKG_CONFIG_PATH=/usr/lib64/pkgconfig'

Change History (3)

comment:1 by Christian Franke, 5 years ago

Description: modified (diff)

comment:2 by Christian Franke, 5 years ago

Component: allsmartd
Milestone: undecided

The attribute log contains the 48-bit raw value as returned by the drive. Raw values are vendor specific and may encode more than one value:
261993922606 = 0x003d000e002e = (Max:61, Min:14, Current:46).
See ticket #1164 for another example.

To track temperature with smartd, try -W directive. See smartd.conf man page for details.

Last edited 5 years ago by Christian Franke (previous) (diff)

comment:3 by Christian Franke, 5 years ago

Milestone: undecided
Resolution: worksforme
Status: newclosed

The attribute log contains the 48-bit raw value as returned by the drive.

Note: See TracTickets for help on using tickets.