LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Smart HD results - what does Remaining mean? (https://www.linuxquestions.org/questions/linux-hardware-18/smart-hd-results-what-does-remaining-mean-4175606084/)

dman777 05-16-2017 05:21 PM

Smart HD results - what does Remaining mean?
 
What does 90% Remaining mean in this smart results?

Code:

localhost one # smartctl -a /dev/sda
smartctl 6.4 2015-06-04 r4109 [x86_64-linux-3.18.25-gentoo-r1] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:    Western Digital Caviar Green
Device Model:    WDC WD15EADS-00P8B0
Serial Number:    WD-WMAVU0398518
LU WWN Device Id: 5 0014ee 001a35566
Firmware Version: 01.00A01
User Capacity:    1,500,301,910,016 bytes [1.50 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:  ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Tue May 16 17:11:57 2017 CDT
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:      ( 121)        The previous self-test completed having
                                        the read element of the test failed.
Total time to complete Offline
data collection:                (33300) 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:          ( 380) minutes.
Conveyance self-test routine
recommended polling time:          (  5) minutes.
SCT capabilities:                (0x303f)        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  176  170  021    Pre-fail  Always      -      6200
  4 Start_Stop_Count        0x0032  099  099  000    Old_age  Always      -      1077
  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  023  023  000    Old_age  Always      -      56875
 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  099  099  000    Old_age  Always      -      1074
192 Power-Off_Retract_Count 0x0032  200  200  000    Old_age  Always      -      194
193 Load_Cycle_Count        0x0032  162  162  000    Old_age  Always      -      115425
194 Temperature_Celsius    0x0022  111  099  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      -      62
198 Offline_Uncorrectable  0x0030  200  200  000    Old_age  Offline      -      8
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  Short offline      Completed: read failure      90%    56875        1315521383
# 2  Extended offline    Completed: read failure      90%    56868        1315521393

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.


syg00 05-16-2017 05:32 PM

Use code tags (not quote) when posting output - that way we might be able to make sense of it.
I'm guessing it means what it said - it failed onthe read test - 10% of the tests (only) completed.

dman777 05-16-2017 07:36 PM

I updated the post with the code tags, thanks.

So a smart test exits on first error?

syg00 05-16-2017 08:14 PM

Makes sense - you want to know if you have a problem, not potentially destroy the disk trying to find out how many.
ddresue might get you a better idea - and you'll get (some sort of) a backup as well.

dman777 05-16-2017 08:39 PM

Well, the thing is I am on a budget and this drive is only used to back up data occasionally. Aren't bad sectors normal? Does this mean my HD will die soon and I need to replace it?

I rather save the money if possible. But I read somewhere that the summary status just means it's currently not in drive failure.

Here is summary status of it:

Code:

localhost one # smartctl -H /dev/sda
smartctl 6.4 2015-06-04 r4109 [x86_64-linux-3.18.25-gentoo-r1] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

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


Timothy Miller 05-16-2017 08:43 PM

Quote:

Originally Posted by dman777 (Post 5711680)
Well, the thing is I am on a budget and this drive is only used to back up data occasionally. Aren't bad sectors normal? Does this mean my HD will die soon and I need to replace it?

Bad sectors aren't normal on a new drive, on older drives it's not unusual. On SSD's it's actually very normal, that's what the overprovisioned space is actually for, it marks sectors as bad, and activates it's extra storage to keep it's full capacity.

Quote:

I rather save the money if possible. But I read somewhere that the summary status just means it's currently not in drive failure.

Here is summary status of it:

Code:

localhost one # smartctl -H /dev/sda
smartctl 6.4 2015-06-04 r4109 [x86_64-linux-3.18.25-gentoo-r1] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

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


If the overall passed, that means that the drive doesn't see imminent failure approaching. Doesn't NECESSARILY mean it's not failing, just that it's own onboard diagnostics doesn't see it coming. I, not having much data that's not easily recoverable other than my music collection (which is backed up 3 different places), would normally just go with the self-assessment. If it passed, I'd assume it's fine.

rknichols 05-16-2017 09:52 PM

Quote:

Originally Posted by dman777 (Post 5711628)
Code:

ID# ATTRIBUTE_NAME          FLAG    VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct  0x0033  200  200  140    Pre-fail  Always      -      0
197 Current_Pending_Sector  0x0032  200  200  000    Old_age  Always      -      62


The drive currently has 62 bad sectors that are pending reallocation. The next time those sectors are written to (which tells the drive that the current contents are irrelevant), they will either be found to be OK or will be reallocated to spare sectors. The drive has thousands of spare sectors. S.M.A.R.T. will not declare the drive to be "failing" until it has used up most of them, but that is far beyond the point that most people would consider the drive to be hopelessly unreliable.

That count of 62 bad sectors is a number that is beginning to become worrisome. The problem is that when a drive begins to develop bad sectors, the problem sometimes cascades rapidly to total failure. It depends on the reason the sectors are bad. If it's actual physical damage to the surface, that can result in bits of dislodged material floating around inside the drive, and that can cause similar problems elsewhere. If it's just that mechanical vibration or an electrical glitch caused a few sectors to be written badly, then the drive can go on for years with no further trouble. It's hard to know which is the case.

In any event, those 62 bad sectors are too many to track down individually using the steps in the Bad Block HOWTO. The most straightforward solution is to save the data elsewhere and zero the entire drive with "dd if=/dev/zero of=/dev/sd{X} bs=1M" (with a suitable letter for "{X}") and then see what S.M.A.R.T. has to say about the drive. What should happen is that the Current_Pending_Sector count will go to zero, while the Reallocated_Sector_Ct will become non-zero. You can then decide what you want to do with this drive.


All times are GMT -5. The time now is 06:12 AM.