I'm wondering if the results of this SMART selftest indicate a failing drive, this is the only drive that comes up with 'completed: read failure' in the results.

# smartctl -l selftest /dev/sde
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)   LBA_of_first_error
# 1  Extended offline    Completed: read failure       90%      8981         976642822
# 2  Extended offline    Aborted by host               90%      8981         -
# 3  Extended offline    Completed: read failure       90%      8981         976642822
# 4  Extended offline    Interrupted (host reset)      90%      8977         -
# 5  Extended offline    Completed without error       00%       410         -

The drive doesn't yet show any signs of failure, aside from the output from that SMART selftest. This is the output from a different drive in the same system which is currently running a SMART selftest

# smartctl -l selftest /dev/sdc
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Self-test routine in progress 30%     15859         -
# 2  Extended offline    Completed without error       00%      9431         -
# 3  Extended offline    Completed without error       00%      8368         -


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       -       1
  3 Spin_Up_Time            0x0027   176   175   021    Pre-fail  Always       -       4183
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       48
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   100   253   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   088   088   000    Old_age   Always       -       8982
 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       -       46
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       34
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       13
194 Temperature_Celsius     0x0022   111   101   000    Old_age   Always       -       36
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       1
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       1
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       2
link|improve this question
2  
It would be much more helpful if you ran smartctl -a /dev/sde and posted the section labeled SMART Attributes Data Structure which contains raw counters. In particular the very first one in there is Raw_Read_Error_Rate which is the best "bad drive" indicator (and will probably be !0 in your case). – Chris S Jul 31 '11 at 15:19
Added. . . . . . . . . . – Jeff Welling Jul 31 '11 at 15:38
1  
The data you added looks good enough. If the drive is part of a RAID array I wouldn't worry about it. You should be backing up your important files in the first place; now is a good time to start if you don't. – Chris S Jul 31 '11 at 15:46
The backup is on the RAID array, which the drive is a part of. The originals are still fine, and the RAID array won't be taken down by anything less than 2 simultaneous drive failures, so I think I'm alright. – Jeff Welling Jul 31 '11 at 15:58
2  
@Jeff Welling: Not to be a pedant about it, but if your "backup" is on the RAID array, it's not a "backup" it is a "copy". Personally, if it were me, I'd replace the drive at the sign of drive failure. For what little cost there is to even a good drive these days, the insurance is well worth it. Also, I just experienced two drive failures, in the same (RAID10) array, in the same day. Out of 6 that were in the array. FWIW. – Kendall Jul 31 '11 at 21:09
show 2 more comments
feedback

3 Answers

I want to add to the comments in the other answer, but I can't due to lack of rep, go figure.

You don't need to make a cron script, there is a smartd daemon in the smartmontools package that handles just what you want to do: regular checking of SMART status. All you need is to create a configuration and start the service. The smartmontools package also contains some sample scripts that smartd can call when something starts failing.

link|improve this answer
I'm not using a cron script, I'm using the smartd daemon. It spits out notes in the system log, I noticed some lines I don't normally see on any other drives and attempted a selftest, which when I checked had failed. I'd never seen this kind of failure before, so I thought people on here might have. The syslog output of smartd is pretty cryptic if you don't have a ton of experience with it, it doesn't exactly tell you "Drive X is dying and needs to be replaced" though it would be nice if it did :) – Jeff Welling Aug 6 '11 at 4:06
feedback

Is your data worth risking on a suspect drive?

If it were me, I'd replace the drive and be thankful that SMART saved me a big headache.

link|improve this answer
In addition I'd at the very least setup up a cron script to run smart once a week on your drives and then have it send the output in a report or email to you each week so that you can in most cases identify ahead of time which drives might be on their last legs to avoid having to recover from a failure and having to restore from backups. Easier yet for if you have multiple machines is using a monitoring tool like Nagios or Munin. – Wilshire Jul 31 '11 at 15:45
That's easier to do when you know what smart output indicates a failing drive, it's hard to tell what does and does not indicate a failing drive. – Jeff Welling Jul 31 '11 at 15:54
feedback
  • Backup as soon as you can!

  • If this drive is still in warranty, then

    • run the vendor's check utitity (you can usually get a boot cd)
    • if this returns error then bingo, send it back and wait for replacement
    • restore from backup
    • problem solved - END

  • If this drive has no warranty then you are screwed
    • there is still some hope...
    • as this is actually a read error only it does not mean you cannot write to it
    • after making a backup you can try to restore the backup as it will overwrite there unreadable sectors with new data which you can actually read back (well, usually this works, in the background the drive will remap these blocks to spare sectors most of the time)
    • badblocks can be also used for this (you already have backups, right?)
      • you do not actually use this to test the disk (does not make much sense with never disks anyways), but to write to these sectors multiple times
    • you can re-run the smart tests again and there is chance that these unreadable sectors "correct themselves"
    • problem NOT solved, you only maked the drive to last longer, probably it will fail faster than normally maybe in a year depending on its useage, but hey disks are cheap, get a new one if your data is important for you - END
link|improve this answer
1  
Modern hard drives (like since the turn of the century) don't work the way you've described in the "no warranty" section. – Chris S Jul 31 '11 at 21:54
Please then get some reference to prove it otherwise. As far as I know even some vendor check utilities and repair tool do this. – cstamas Aug 3 '11 at 9:03
2  
Start with Wikipedia's Bad Sector article. Hard drives abstract the logical sector address and map it to sectors it believes are good. Some vendor utilities (sometimes SMART, depending on what is exposed by the drive) can report on remapped sectors. Bad sectors are detected on write operations normally. Usually once it's written it can be read again; it's the initial write operation that commonly fails on bad sectors. Once a sector is bad it's bad forever, there's no "correcting" it. – Chris S Aug 3 '11 at 12:51
I think I did not say anything that is against what you are saying, but I clarified a bit to make it more "technically correct". – cstamas Aug 11 '11 at 15:06
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.