You are not logged in.

#1 2013-04-06 12:42:41

s0l1dsnak3123
Member
From: Scotland
Registered: 2008-06-26
Posts: 70
Website

SMART error?

This machine isn't a server, but it looks like this is the most relevant place to ask this question.

Yesterday my machine crashed randomly - all the directories in my home folder became read-only. I restarted the machine and was dropped into fsck mode, fsck found some issues and fixed them and my machine booted up fine.

I installed smartmontools and ran all three tests, but I'm having trouble interpreting them. Should I be worried?


sudo smartctl -a /dev/sdb:


smartctl 6.1 2013-03-16 r3800 [x86_64-linux-3.8.5-1-ARCH] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green (AF, SATA 6Gb/s)
Device Model:     WDC WD20EARX-00PASB0
Serial Number:    WD-WCAZAK297857
LU WWN Device Id: 5 0014ee 25d124d38
Firmware Version: 51.0AB51
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:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sat Apr  6 13:40:52 2013 BST
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:      ( 113)	The previous self-test completed having
					the read element of the test failed.
Total time to complete Offline 
data collection: 		(40200) 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: 	 ( 387) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3035)	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   188   187   051    Pre-fail  Always       -       1628
  3 Spin_Up_Time            0x0027   169   169   021    Pre-fail  Always       -       6508
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       21
  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   098   098   000    Old_age   Always       -       1614
 10 Spin_Retry_Count        0x0032   100   253   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       13
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       4
193 Load_Cycle_Count        0x0032   199   199   000    Old_age   Always       -       5029
194 Temperature_Celsius     0x0022   120   115   000    Old_age   Always       -       30
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       43
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       38
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      -       124

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  Conveyance offline  Completed: read failure       10%      1598         159375080
# 2  Extended offline    Completed: read failure       90%      1591         159375080
# 3  Short offline       Completed: read failure       10%      1591         159375080

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.

Offline

#2 2013-04-06 15:44:48

silentsnake
Member
Registered: 2012-02-23
Posts: 57

Re: SMART error?

Looks like you have got one or more bad sectors on your harddrive. There are some spare sectors on the drive, which will replace the broken sectors as soon as they will be written again. (For example, if you rewrite your complete drive with zero/data OR the overwrite the specific sectors only, see here: http://smartmontools.sourceforge.net/ba … owto.html)
Even if your system currently works fine, I would definitiv dd the whole drive to another one or do some other kind of backup, and completely fill the whole drive with zeros. Then run all three S.M.A.R.T tasks again, and check if they will finish without errors. If this is the case, you could recover your backup and use the drive. If not, I would recommend to get a replacement drive.
BTW the data shows that it looks like your running your drive 24h/7, I would also recommend getting a drive that is ment to be run 24/7, like the WDC Red or RE series.

Last edited by silentsnake (2013-04-06 15:46:08)

Offline

#3 2013-04-07 22:35:08

Darkimmortal
Member
Registered: 2012-01-04
Posts: 30

Re: SMART error?

The way to 'fix' this is to use hdparm --write-sector (and be prepared to lose data and/or break your file system) and the 'LBA_of_first_error', then run fsck and pray. Take a backup first of course.

I've also fought a losing battle for nearly 2 years with a pair of Samsung F3 disks in a 24/7 server scenario. Every week or so they would develop a 'temporary' bad sector (calling it temporary because --write-sector made it disappear and did not increment either of the SMART offline/pending sector values) due to lack of vibration tolerance, and I would lose a few recently-written files. MD-based RAID 1 didn't help at all. Finally gave up and replaced them with Seagate ES.3 disks, problem solved.

Last edited by Darkimmortal (2013-04-07 22:35:48)

Offline

#4 2013-04-08 14:15:48

s0l1dsnak3123
Member
From: Scotland
Registered: 2008-06-26
Posts: 70
Website

Re: SMART error?

Thanks for the info guys. This is my work machine so it's good to know this now while the machine still works!

Because I work for myself (and I'm working like a dog right now), My machine is essentially on 24/7.

I'll buy a replacement drive which is meant to be ran 24/7 as silentsnake suggests, and then backup to it and run darkimmortal's suggestions to see what happens.

I'll let you know how it goes. Thanks very much for your help!

JH

Offline

#5 2013-04-18 20:10:57

s0l1dsnak3123
Member
From: Scotland
Registered: 2008-06-26
Posts: 70
Website

Re: SMART error?

So my hard-drive finally bit the dust tonight, I have a backup so nothing is lost, but I checked the warranty on the drive and unfortunately the seller bought it overseas which invalidated it. Luckily I bought it through amazon and they are refunding me the full cost of the drive. I've went ahead and bought one of these which I hope won't crap out on me!

Offline

Board footer

Powered by FluxBB