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-29-2016, 10:25 AM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Rep: Reputation: 271Reputation: 271Reputation: 271
What is the trajectory of hard disk failure?


The periodic e2fsck of my hard disk returned errors for the
first time, about a dozen defective inodes, all repairable. I
bought this computer 6 years ago.

Where can I find the errors? They aren't in any file in
/var/log; dmesg doesn't return them; smartctl reports no
errors. I was busy during boot, didn't write them down.

What is the trajectory of this drive? Is this the beginning
of a steep or shallow decline, or is it a fluke?

eMachines 725-4520
Western Digital Scorpio Blue Serial ATA model WDC WD2500BEVT-22A23T0 size 250 GB
 
Old 05-29-2016, 10:27 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Did you run smartctl test?
 
Old 05-29-2016, 10:48 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Smart mails its reports to the root user: try looking in /var/mail/root or search for a mail folder if that doesn't exist.
 
Old 05-29-2016, 10:52 AM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Smart has to be configured to run tests periodically for this. Some distros may set it up this way by default, some require manual setup.
 
Old 05-29-2016, 02:24 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by RandomTroll View Post

What is the trajectory of this drive? Is this the beginning
of a steep or shallow decline, or is it a fluke?
The most common cause of this type of problem is when the system shuts down without umounting your partitions. Such things as turning off the machine without going through shutdown or a power failure can cause these problems. If fsck repaired all of the bad inodes without reporting any bad blocks then your hard drive suffered no permanent damage.

---------------------
Steve Stites
 
Old 05-29-2016, 03:01 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,681

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by RandomTroll View Post
The periodic e2fsck of my hard disk returned errors for the
first time, about a dozen defective inodes, all repairable. I bought this computer 6 years ago.

Where can I find the errors? They aren't in any file in /var/log; dmesg doesn't return them; smartctl reports no
errors. I was busy during boot, didn't write them down. What is the trajectory of this drive? Is this the beginning
of a steep or shallow decline, or is it a fluke?

eMachines 725-4520 Western Digital Scorpio Blue Serial ATA model WDC WD2500BEVT-22A23T0 size 250 GB
Honestly, given that it's 6 years old, and that you saw ANY errors, I'd act immediately. Since hard drives (and SSD's) are so cheap these days, I'd err on the side of caution. Grab a new drive, and do a PLANNED migration. Take the opportunity to upgrade to the latest distro (if you're not there), and get things moved over in an orderly fashion.

When I do this with my laptop, I'll typically grab a cheap USB enclosure, and shove the old drive in there, after taking a backup. Format and install on the new drive, and test my backup by doing a restore. Anything fails? You've got the old (but still WORKING) drive to copy files from.
 
Old 05-29-2016, 09:42 PM   #7
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
I was getting ready to reply, but what I had in mind TBone said better than I ever could.
 
Old 05-30-2016, 10:37 AM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
On my computer (all computers?) Smart also has to be set in the BIOS as well as having the daemon running.
 
1 members found this post helpful.
Old 05-30-2016, 02:59 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,997

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Almost every OEM maker of drives offer a way to run factory diags. Many of these are stand along disc based diags that provide the best tests and diags for that drive. If you can't get OEM then try ultimage boot cd if you don't want to run simple smart diags.
 
Old 06-01-2016, 12:21 AM   #10
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,977
Blog Entries: 33

Rep: Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468
RandomTroll,

Scroll down the page and download/burn the .iso image for Hiren's Boot CD:
http://www.hirensbootcd.org/download/

Boot from the CD and use one of the Hard Disk Tools, such as SmartUDM or one of the WD Tools listed here:

http://www.hiren.info/pages/bootcd
 
Old 06-04-2016, 05:09 PM   #11
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Thanks for all your answers. The only WD diags I can find run from Windoze or DOS. The BIOS doesn't support Smart.

The touchpad worked erratically from the start; the CD/DVD drive stopped burning a few years ago; I'm on the second keyboard and broken 2 keycaps; the audio chip has started working erratically; the screen has started working erratically. Thus, I consider replacing the entire computer. I already use the drive from its predecessor in an outboard enclosure for backup.
 
  


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
how do I check my hard disk for errors. possible hard disk failure lgtrean Linux - Hardware 6 06-22-2011 04:06 PM
Hard Disk Failure? allancth Linux - Newbie 13 05-06-2009 09:56 PM
Hard Disk Failure: How do I move data to a new hard disk drive? spyros Linux - Software 2 10-31-2008 03:01 PM
Hard disk failure? GazzaJ Linux - Hardware 2 08-15-2006 07:28 AM
hard disk failure? indole Linux - Hardware 4 02-19-2005 07:49 PM

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

All times are GMT -5. The time now is 06:56 PM.

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