Monitoring my Kingston SSD

Issues related to hardware problems
flavius
Posts: 5
Joined: 2017/08/16 00:40:01

Monitoring my Kingston SSD

Postby flavius » 2017/09/03 16:17:33

I just noticed that gnomes disks program is reporting a temperature of 212 F for my Kingston SSD drive but says overall status is ok.
smartctl -i /dev/sda says the device is not in the database. This is CentOS 7.3.

So, my theory is the device can't be monitored properly - since the overall-health self-assessment of the the drive says PASSED. The output of smartctl -a seems to support this (see '231' line below).

How can I get more complete results with linux - do I really have to install windows and run the Kingston software?
I have checked the system bios, didn't see any drive temperatures in there. Since I'm using a server board from intel I have a BMC web control which has 23 temp sensors but most of them I can not identify, see further below.

Code: Select all

smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-514.26.2.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, http://www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     KINGSTON SA400S37240G
Serial Number:    50026B7773047082
LU WWN Device Id: 5 000000 000000000
Firmware Version: SBFK10D7
User Capacity:    240,057,409,536 bytes [240 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   Unknown(0x0ff8) (minor revision not indicated)
SATA Version is:  SATA >3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun Sep  3 12:00:54 2017 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)   Offline data collection activity
               was never started.
               Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)   The previous self-test routine completed
               without error or no self-test has ever
               been run.
Total time to complete Offline
data collection:       (65535) seconds.
Offline data collection
capabilities:           (0x79) SMART execute Offline immediate.
               No Auto Offline data collection support.
               Suspend Offline collection upon new
               command.
               Offline surface scan supported.
               Self-test supported.
               Conveyance Self-test supported.
               Selective Self-test supported.
SMART capabilities:            (0x0003)   Saves SMART data before entering
               power-saving mode.
               Supports SMART auto save timer.
Error logging capability:        (0x01)   Error logging supported.
               General Purpose Logging supported.
Short self-test routine
recommended polling time:     (   4) minutes.
Extended self-test routine
recommended polling time:     (  32) minutes.
Conveyance self-test routine
recommended polling time:     (   8) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000a   100   100   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       569
 12 Power_Cycle_Count       0x0012   100   100   000    Old_age   Always       -       56
148 Unknown_Attribute       0x0000   255   255   000    Old_age   Offline      -       0
149 Unknown_Attribute       0x0000   255   255   000    Old_age   Offline      -       281474976710655
167 Unknown_Attribute       0x0022   100   100   000    Old_age   Always       -       0
168 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       0
169 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       18
170 Unknown_Attribute       0x0013   100   100   010    Pre-fail  Always       -       35
172 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
173 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       1
181 Program_Fail_Cnt_Total  0x0012   100   100   000    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0000   255   255   000    Old_age   Offline      -       281474976710655
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0012   100   100   000    Old_age   Always       -       52
194 Temperature_Celsius     0x0023   077   069   000    Pre-fail  Always       -       23 (Min/Max 19/31)
196 Reallocated_Event_Count 0x0000   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       0
218 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       0
231 Temperature_Celsius     0x0013   100   100   000    Pre-fail  Always       -       100
233 Media_Wearout_Indicator 0x0013   100   100   000    Pre-fail  Always       -       102
241 Total_LBAs_Written      0x0012   100   100   000    Old_age   Always       -       113
242 Total_LBAs_Read         0x0012   100   100   000    Old_age   Always       -       72
244 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       0
245 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       1
246 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       25216

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Attachments
Screen Shot 2017-09-03 at 12.14.21 PM.png
Screen Shot 2017-09-03 at 12.14.21 PM.png (119.21 KiB) Viewed 238 times

User avatar
TrevorH
Forum Moderator
Posts: 21158
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Monitoring my Kingston SSD

Postby TrevorH » 2017/09/03 16:30:02

231 Temperature_Celsius 0x0013 100 100 000 Pre-fail Always - 100


So that would appear to either be a bug with the SSD firmware or with smartctl looking at the wrong attribute for the temperature. 100C is 212F or the boiling point of water. Unlikely to be real.

You could try backing up the existing /usr/share/smartmontools/drivedb.h and then run update-smart-drivedb as root to download and overwrite it with the latest from the smartmontools project and see if that helps.

Btw, the correct attribute also seems to be present and showing a much more realistic temperature:

194 Temperature_Celsius 0x0023 077 069 000 Pre-fail Always - 23 (Min/Max 19/31)
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

flavius
Posts: 5
Joined: 2017/08/16 00:40:01

Re: Monitoring my Kingston SSD

Postby flavius » 2017/09/03 18:39:25

I just found sensor viewer which confirms what the actual temperature of that disk is (dev/sda).

sensor viewer.png
sensor viewer.png (44.17 KiB) Viewed 220 times