Package: smartmontools
Version: 6.5+svn4324-1~bpo8+1
Severity: important

Starting some weeks (or months) ago – sorry I can't be more precise, the 
command 'smartctl -a [device]' displays wrong values for the attributes
'Power_On_Hours' and 'LifeTime'. As far as I can see in on case this seems to 
happen with Samsung SSD 850 PRO drives

Here an example:

-----------------------------------------------------------------------------------------------

smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-0.bpo.3-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Samsung based SSDs
Device Model:     Samsung SSD 850 PRO 128GB
Serial Number:    XXXXXXXXXXXXXXX
LU WWN Device Id: 5 002538 8701420da
Firmware Version: EXM02B6Q
User Capacity:    128.035.676.160 bytes [128 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun May 28 21:33:16 2017 CEST
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:                (    0) seconds.
Offline data collection
capabilities:                    (0x53) SMART execute Offline immediate.
                                        Auto Offline data collection on/off 
support.
                                        Suspend Offline collection upon new
                                        command.
                                        No Offline surface scan supported.
                                        Self-test supported.
                                        No 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:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  68) minutes.
SCT capabilities:              (0x003d) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  
WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       
-       0
  9 Power_On_Hours          0x0032   096   096   000    Old_age   Always       
-       15950
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       
-       76
177 Wear_Leveling_Count     0x0013   099   099   000    Pre-fail  Always       
-       2
179 Used_Rsvd_Blk_Cnt_Tot   0x0013   100   100   010    Pre-fail  Always       
-       0
181 Program_Fail_Cnt_Total  0x0032   100   100   010    Old_age   Always       
-       0
182 Erase_Fail_Count_Total  0x0032   100   100   010    Old_age   Always       
-       0
183 Runtime_Bad_Block       0x0013   100   100   010    Pre-fail  Always       
-       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       
-       0
190 Airflow_Temperature_Cel 0x0032   061   044   000    Old_age   Always       
-       39
195 ECC_Error_Rate          0x001a   200   200   000    Old_age   Always       
-       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       
-       0
235 POR_Recovery_Count      0x0012   099   099   000    Old_age   Always       
-       15
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       
-       147957410

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  
LBA_of_first_error
# 1  Extended offline    Completed without error       00%     15935         -
# 2  Extended offline    Completed without error       00%     15911         -
# 3  Extended offline    Completed without error       00%     15887         -
# 4  Extended offline    Completed without error       00%     15863         -
# 5  Extended offline    Completed without error       00%     15839         -
# 6  Extended offline    Completed without error       00%     15815         -
# 7  Extended offline    Completed without error       00%     15791         -
# 8  Extended offline    Completed without error       00%     15767         -
# 9  Extended offline    Completed without error       00%     15743         -
#10  Extended offline    Completed without error       00%     15720         -
#11  Extended offline    Completed without error       00%     15696         -
#12  Extended offline    Completed without error       00%     15672         -
#13  Extended offline    Completed without error       00%     15648         -
#14  Extended offline    Completed without error       00%     15625         -
#15  Extended offline    Completed without error       00%     15601         -
#16  Extended offline    Completed without error       00%     15585         -
#17  Extended offline    Completed without error       00%     15529         -
#18  Extended offline    Completed without error       00%     15505         -
#19  Extended offline    Completed without error       00%     15481         -
#20  Extended offline    Completed without error       00%     15457         -
#21  Extended offline    Completed without error       00%     15433         -

SMART Selective self-test log data structure revision number 1
 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.

-----------------------------------------------------------------------------------------------

Based on the displayed Values the first startup time of the drive should be

'date -d "Sun May 28 21:33:16 2017 CEST - 15950 hours"' = Mon Aug  3 07:33:16 
CEST 2015

but in truth the drive was purchased (Date of delivery note) Mon Apr  4 2016 
and the drive was new.
So the maximal possible value for Power_On_Hours could be only 10070 hours.
Because the drive was not up 24/7 during this time, the real value should be 
less than 10000 hours.

Another irritating thing is the the output of the following drives:

-----------------------------------------------------------------------------------------------

smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-0.bpo.3-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Green
Device Model:     WDC WD20EZRX-00DC0B0
Serial Number:    WD-XXXXXXXXXXXX
LU WWN Device Id: 5 0014ee 602ca4260
Firmware Version: 80.00A80
User Capacity:    2.000.398.934.016 bytes [2,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun May 28 21:33:17 2017 CEST
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:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
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:                (26580) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off 
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:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 268) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x70b5) SCT Status supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

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     0x002f   200   200   051    Pre-fail  Always       
-       0
  3 Spin_Up_Time            0x0027   176   174   021    Pre-fail  Always       
-       4200
  4 Start_Stop_Count        0x0032   094   094   000    Old_age   Always       
-       6620
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       
-       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       
-       0
  9 Power_On_Hours          0x0032   064   063   000    Old_age   Always       
-       26675
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       
-       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       
-       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       
-       154
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       
-       97
193 Load_Cycle_Count        0x0032   185   185   000    Old_age   Always       
-       46444
194 Temperature_Celsius     0x0022   105   084   000    Old_age   Always       
-       42
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       
-       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       
-       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      
-       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       
-       33
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      
-       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  
LBA_of_first_error
# 1  Extended offline    Completed without error       00%     26663         -
# 2  Extended offline    Completed without error       00%     26639         -
# 3  Extended offline    Completed without error       00%     26615         -
# 4  Extended offline    Completed without error       00%     26591         -
# 5  Extended offline    Completed without error       00%     26567         -
# 6  Extended offline    Completed without error       00%     26543         -
# 7  Extended offline    Completed without error       00%     26519         -
# 8  Extended offline    Completed without error       00%     26495         -
# 9  Extended offline    Completed without error       00%     26471         -
#10  Extended offline    Completed without error       00%     26449         -
#11  Extended offline    Completed without error       00%     26425         -
#12  Extended offline    Completed without error       00%     26401         -
#13  Extended offline    Completed without error       00%     26377         -
#14  Extended offline    Completed without error       00%     26331         -
#15  Extended offline    Completed without error       00%     26317         -
#16  Extended offline    Completed without error       00%     27438         -
#17  Extended offline    Completed without error       00%     27414         -
#18  Extended offline    Completed without error       00%     27390         -
#19  Extended offline    Completed without error       00%     27366         -
#20  Extended offline    Completed without error       00%     27342         -
#21  Extended offline    Completed without error       00%     27318         -

SMART Selective self-test log data structure revision number 1
 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.

-----------------------------------------------------------------------------------------------

smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-0.bpo.3-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD60EFRX-68MYMN1
Serial Number:    WD-XXXXXXXXXXXX
LU WWN Device Id: 5 0014ee 26002c7d3
Firmware Version: 82.00A82
User Capacity:    6.001.175.126.016 bytes [6,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5700 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun May 28 21:33:17 2017 CEST
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:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
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:                ( 4784) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off 
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:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 702) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x303d) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

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     0x002f   200   200   051    Pre-fail  Always       
-       0
  3 Spin_Up_Time            0x0027   190   185   021    Pre-fail  Always       
-       9483
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       
-       103
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       
-       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       
-       0
  9 Power_On_Hours          0x0032   073   072   000    Old_age   Always       
-       20077
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       
-       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       
-       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       
-       103
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       
-       36
193 Load_Cycle_Count        0x0032   197   197   000    Old_age   Always       
-       11695
194 Temperature_Celsius     0x0022   113   095   000    Old_age   Always       
-       39
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       
-       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       
-       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      
-       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       
-       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      
-       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  
LBA_of_first_error
# 1  Extended offline    Completed without error       00%     20069         -
# 2  Extended offline    Completed without error       00%     20045         -
# 3  Extended offline    Completed without error       00%     20021         -
# 4  Extended offline    Completed without error       00%     19997         -
# 5  Extended offline    Completed without error       00%     19973         -
# 6  Extended offline    Completed without error       00%     19949         -
# 7  Extended offline    Completed without error       00%     19925         -
# 8  Extended offline    Completed without error       00%     19901         -
# 9  Extended offline    Completed without error       00%     19877         -
#10  Extended offline    Completed without error       00%     19854         -
#11  Extended offline    Completed without error       00%     19830         -
#12  Extended offline    Completed without error       00%     19806         -
#13  Extended offline    Completed without error       00%     19782         -
#14  Extended offline    Completed without error       00%     19725         -
#15  Extended offline    Completed without error       00%     19638         -
#16  Extended offline    Completed without error       00%     20807         -
#17  Extended offline    Completed without error       00%     20783         -
#18  Extended offline    Completed without error       00%     20759         -
#19  Extended offline    Completed without error       00%     20735         -
#20  Extended offline    Completed without error       00%     20711         -
#21  Extended offline    Completed without error       00%     20687         -

SMART Selective self-test log data structure revision number 1
 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.

-----------------------------------------------------------------------------------------------

I've absolutely no idea why the value of the LifeTime attibute varies instead 
to increase.

Remark:
The included examples are from disks in another machine but with identical 
software

-- System Information:
Debian Release: 8.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-0.bpo.3-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages smartmontools depends on:
ii  debianutils          4.4+b1
ii  init-system-helpers  1.22
ii  libc6                2.19-18+deb8u9
ii  libcap-ng0           0.7.4-2
ii  libgcc1              1:4.9.2-10
ii  libselinux1          2.3-2
ii  libstdc++6           4.9.2-10
ii  lsb-base             4.1+Debian13+nmu1

Versions of packages smartmontools recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20141216cvs-2

Versions of packages smartmontools suggests:
pn  gsmartcontrol   <none>
pn  smart-notifier  <none>

-- Configuration Files:
/etc/default/smartmontools changed:
start_smartd=yes

/etc/smartd.conf changed:
/dev/sdf -a -d sat -o on -S on -s (L/../.././00) -t -m root
/dev/sdg -a -d sat -o on -S on -s (L/../.././01) -t -m root


-- no debconf information

Reply via email to