Bug 1388510 - update drivedb to understand and correctly name SMART attributes
Summary: update drivedb to understand and correctly name SMART attributes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: smartmontools
Version: 7.0
Hardware: x86_64
OS: All
unspecified
low
Target Milestone: rc
: ---
Assignee: Michal Hlavinka
QA Contact: Roman Žilka
URL:
Whiteboard:
: 1379687 (view as bug list)
Depends On:
Blocks: 1400961
TreeView+ depends on / blocked
 
Reported: 2016-10-25 14:20 UTC by Michal Hlavinka
Modified: 2017-08-01 23:11 UTC (History)
5 users (show)

Fixed In Version: smartmontools-6.2-8.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1222964
Environment:
Last Closed: 2017-08-01 23:11:07 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2204 0 normal SHIPPED_LIVE smartmontools bug fix update 2017-08-01 19:42:06 UTC

Description Michal Hlavinka 2016-10-25 14:20:13 UTC
+++ This bug was initially created as a clone of Bug #1222964 +++

Description of problem:

Actual results:

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x0033   116   116   050    Pre-fail  Always       -       123206501
  5 Reallocated_Sector_Ct   0x0033   100   100   003    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   095   095   000    Old_age   Always       -       4727 (20 168 0)
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       17
 13 Read_Soft_Error_Rate    0x0032   060   060   000    Old_age   Always       -       58085260917605
100 Unknown_Attribute       0x0032   000   000   000    Old_age   Always       -       35154
170 Unknown_Attribute       0x00ef   000   000   000    Pre-fail  Always       -       16128
171 Unknown_Attribute       0x000a   000   000   000    Old_age   Always       -       0
172 Unknown_Attribute       0x0032   000   000   000    Old_age   Always       -       0
174 Unknown_Attribute       0x0030   000   000   000    Old_age   Offline      -       18
177 Wear_Leveling_Count     0x0000   000   000   000    Old_age   Offline      -       5
181 Program_Fail_Cnt_Total  0x000a   000   000   000    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   000   000   000    Old_age   Always       -       0
184 End-to-End_Error        0x0000   100   100   090    Old_age   Offline      -       0
187 Reported_Uncorrect      0x001c   100   100   000    Old_age   Offline      -       0
194 Temperature_Celsius     0x0022   028   043   000    Old_age   Always       -       28 (Min/Max 22/43)
195 Hardware_ECC_Recovered  0x001c   120   120   000    Old_age   Offline      -       123206501
196 Reallocated_Event_Count 0x0033   100   100   003    Pre-fail  Always       -       0
198 Offline_Uncorrectable   0x0010   116   116   000    Old_age   Offline      -       258380937560064
199 UDMA_CRC_Error_Count    0x0004   200   200   000    Old_age   Offline      -       0
201 Soft_Read_Error_Rate    0x001c   120   120   000    Old_age   Offline      -       123206501
204 Soft_ECC_Correction     0x001c   120   120   000    Old_age   Offline      -       123206501
230 Head_Amplitude          0x0013   100   100   000    Pre-fail  Always       -       100
231 Temperature_Celsius     0x0013   100   100   010    Pre-fail  Always       -       0
232 Available_Reservd_Space 0x0032   000   000   000    Old_age   Always       -       63
233 Media_Wearout_Indicator 0x0032   000   000   000    Old_age   Always       -       34811
234 Unknown_Attribute       0x0032   000   000   000    Old_age   Always       -       21171
235 Unknown_Attribute       0x0033   100   100   002    Pre-fail  Always       -       0
241 Total_LBAs_Written      0x0032   000   000   000    Old_age   Always       -       21171
242 Total_LBAs_Read         0x0032   000   000   000    Old_age   Always       -       150430

Expected results:

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x0033   120   120   050    Pre-fail  Always       -       0/0
  5 Retired_Block_Count     0x0033   100   100   003    Pre-fail  Always       -       0
  9 Power_On_Hours_and_Msec 0x0032   100   100   000    Old_age   Always       -       309h+41m+49.010s
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       4
 13 Soft_Read_Error_Rate    0x0032   120   120   000    Old_age   Always       -       20220/0
100 Gigabytes_Erased        0x0032   000   000   000    Old_age   Always       -       20
170 Reserve_Block_Count     0x00ef   000   000   000    Pre-fail  Always       -       70144
171 Program_Fail_Count      0x000a   000   000   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   000   000   000    Old_age   Always       -       0
174 Unexpect_Power_Loss_Ct  0x0030   000   000   000    Old_age   Offline      -       4
177 Wear_Range_Delta        0x0000   000   000   000    Old_age   Offline      -       0
181 Program_Fail_Count      0x000a   000   000   000    Old_age   Always       -       0
182 Erase_Fail_Count        0x0032   000   000   000    Old_age   Always       -       0
184 IO_Error_Detect_Code_Ct 0x0000   100   100   090    Old_age   Offline      -       0
187 Reported_Uncorrect      0x001c   100   100   000    Old_age   Offline      -       0
194 Temperature_Celsius     0x0022   029   035   000    Old_age   Always       -       29 (Min/Max 22/35)
195 ECC_Uncorr_Error_Count  0x001c   100   100   000    Old_age   Offline      -       0/0
196 Reallocated_Event_Count 0x0033   100   100   003    Pre-fail  Always       -       0
198 Uncorrectable_Sector_Ct 0x0010   120   120   000    Old_age   Offline      -       0/0
199 SATA_CRC_Error_Count    0x0004   200   200   000    Old_age   Offline      -       0
201 Unc_Soft_Read_Err_Rate  0x001c   100   100   000    Old_age   Offline      -       0/0
204 Soft_ECC_Correct_Rate   0x001c   100   100   000    Old_age   Offline      -       0/0
230 Life_Curve_Status       0x0013   100   100   000    Pre-fail  Always       -       100
231 SSD_Life_Left           0x0013   100   100   010    Pre-fail  Always       -       0
232 Available_Reservd_Space 0x0032   000   000   000    Old_age   Always       -       137
233 SandForce_Internal      0x0032   000   000   000    Old_age   Always       -       8
234 SandForce_Internal      0x0032   000   000   000    Old_age   Always       -       7
235 SuperCap_Health         0x0033   100   100   002    Pre-fail  Always       -       0
241 Lifetime_Writes_GiB     0x0032   000   000   000    Old_age   Always       -       7
242 Lifetime_Reads_GiB      0x0032   000   000   000    Old_age   Always       -       0

Comment 1 Michal Hlavinka 2016-10-25 14:24:03 UTC
*** Bug 1379687 has been marked as a duplicate of this bug. ***

Comment 3 Philip Prindeville 2017-01-28 00:06:14 UTC
Is version 6.5 coming out any time soon?  Linux 3.3 has NMVe support in it (I'm running CentOS 7.3 1611 updated) on a 1TB NVMe stick... but can't monitor it because I have v6.3 still which is pre-NVMe.

Please release an update.

Comment 5 Roman Žilka 2017-06-15 09:51:16 UTC
QA: Verified (SanityOnly).

********** smartmontools-6.2-7.el7 (faulty):

# smartctl -P showall 'KINGSTON SE50S3480G'
No presets are defined for this drive.  Its identity strings:
MODEL:    KINGSTON SE50S3480G
FIRMWARE: (any)
do not match any of the known regular expressions.

********** smartmontools-6.2-8.el7 (fixed):

# smartctl -P showall 'KINGSTON SE50S3480G'
   (...)
ATTRIBUTE OPTIONS:  001 Raw_Read_Error_Rate
                    005 Retired_Block_Count
                    009 Power_On_Hours_and_Msec
                    013 Soft_Read_Error_Rate
                    100 Gigabytes_Erased
                    162 Unknown_SandForce_Attr
                    170 Reserve_Block_Count
                    171 Program_Fail_Count
                    172 Erase_Fail_Count
                    173 Unknown_SandForce_Attr
                    174 Unexpect_Power_Loss_Ct
                    177 Wear_Range_Delta
                    181 Program_Fail_Count
                    182 Erase_Fail_Count
                    184 IO_Error_Detect_Code_Ct
                    189 Airflow_Temperature_Cel
                    195 ECC_Uncorr_Error_Count
                    198 Uncorrectable_Sector_Ct
                    199 SATA_CRC_Error_Count
                    201 Unc_Soft_Read_Err_Rate
                    204 Soft_ECC_Correct_Rate
                    218 Unknown_SandForce_Attr
                    230 Life_Curve_Status
                    231 SSD_Life_Left
                    233 SandForce_Internal
                    234 SandForce_Internal
                    235 SuperCap_Health
                    241 Lifetime_Writes_GiB
                    242 Lifetime_Reads_GiB

Comment 7 errata-xmlrpc 2017-08-01 23:11:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2204


Note You need to log in before you can comment on or make changes to this bug.