LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-16-2017, 05:21 PM   #1
dman777
Member
 
Registered: Dec 2010
Distribution: Gentoo
Posts: 232

Rep: Reputation: 8
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.

Last edited by dman777; 05-16-2017 at 07:35 PM.
 
Old 05-16-2017, 05:32 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
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.
 
Old 05-16-2017, 07:36 PM   #3
dman777
Member
 
Registered: Dec 2010
Distribution: Gentoo
Posts: 232

Original Poster
Rep: Reputation: 8
I updated the post with the code tags, thanks.

So a smart test exits on first error?
 
Old 05-16-2017, 08:14 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
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.
 
Old 05-16-2017, 08:39 PM   #5
dman777
Member
 
Registered: Dec 2010
Distribution: Gentoo
Posts: 232

Original Poster
Rep: Reputation: 8
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
 
Old 05-16-2017, 08:43 PM   #6
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,006
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Quote:
Originally Posted by dman777 View Post
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.
 
1 members found this post helpful.
Old 05-16-2017, 09:52 PM   #7
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,782

Rep: Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214
Quote:
Originally Posted by dman777 View Post
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.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Difference in SMART results Fixit7 Puppy 6 02-04-2015 10:30 AM
LXer: LG Will Take The 'Smart' Out Of Your Smart TV If You Don't Agree To Share Your Viewing And Sea LXer Syndicated Linux News 0 05-21-2014 11:13 PM
LXer: Smart TV, Spy TV. Is that LG Smart TV spying on you? LXer Syndicated Linux News 0 11-21-2013 06:30 PM
Smart problem adding new channel in Smart-beta google01103 SUSE / openSUSE 1 11-21-2006 07:17 AM
apt-get dist-upgrade and Synaptic "smart upgrade" show different results vharishankar Debian 1 04-09-2006 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration