LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2014, 11:55 AM   #1
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Rep: Reputation: 0
Hard drive failure?


I am running Centos 6.5, 64 bit version of Linux. Now I have been getting an error about
my hard drive failure is immenent.

The trouble is I do not know whether to take it seriously. It has been saying pretty much the same thins for a long time - over a year.

I remember running across an error on Red Hat stating that this was a flaw in Red Hat (and hence Centos) ands hould be ignored. What is the story here?

I obviously do not want my hard drive to fail, but I also do not want to replace it needlessly.

Any help appreciated.

Thanks in advance.

R,

jyunker


The error I find on this can be found here:

https://bugzilla.redhat.com/show_bug.cgi?id=498115

Last edited by jyunker; 04-07-2014 at 12:15 PM.
 
Old 04-07-2014, 12:15 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,492

Rep: Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090
What error? Where are you seeing it? Are you running any disk checks or is it just popping up on the terminal?
 
Old 04-07-2014, 12:38 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836
1. Backup your data immediately (if you haven't done already)!
2. Download the disk manufacturer's diagnosis tool and test the disk for errors.
 
Old 04-07-2014, 04:25 PM   #4
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
Just as a note,
I'm running Centos 6.5 64bit on an aged drive and have had no such warnings. Have you checked dmesg for signs its struggling to read the drive? I've seen messages something relating to 'drkby' or such, just before disk demise.

Fred.
 
Old 04-07-2014, 07:29 PM   #5
PClinuxOS
LQ Newbie
 
Registered: Mar 2014
Posts: 15

Rep: Reputation: Disabled
There is a gui app call gsmartcontrol, It's designed to check the health status of your hard drive. It works best on hard drives with the the SMART (Self-Monitoring Analysis and Reporting Technology).

PclinuxOS Magazine did an article on using gsmartcontrol

http://pclosmag.com/html/Issues/201401/page01.html

Even tho the article is using pclinuxos as the platform, I'm pretty sure any distro with gsmartcontrol in the repos can follow along.

BTW, the commandline version of gsmartcontrol is called smartctl

Last edited by PClinuxOS; 04-08-2014 at 11:56 AM.
 
Old 04-08-2014, 08:10 AM   #6
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Original Poster
Rep: Reputation: 0
This is the error message

I am seeing the error as displayed in the upper right hand corner of the Centos gui. There is a picture of a hard drive with a orange triangle on it. Click on that orange triangle and it says hard drive failure is imminent.

But it has been saying that for a long time (almost a year) and the link in my initial post says this is probably an error.

I did download gsmartcontrol and will try it.

My hard drive is ATA WDC WD3200AAKS -75L9A0.

Any help appreciated.

Thanks.

R,

jyunker
 
Old 04-08-2014, 10:32 AM   #7
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 3,440

Rep: Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508
You will probably find that the drive has some small number of reallocated sectors. Some drives store something in the high-order bits of the raw value for that parameter, and the Gnome tools misinterpret that as a huge number of bad sectors.

I have a drive like that (2 bad sectors, interpreted as 32000+). I know that I somehow stopped those tools from trying to read the SMART parameters (Gnome Disk Utility now says that SMART is "not supported"), but I have no idea how I did that and have never been able to turn that feature back on.

Last edited by rknichols; 04-08-2014 at 10:35 AM.
 
Old 04-08-2014, 11:19 AM   #8
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 491Reputation: 491Reputation: 491Reputation: 491Reputation: 491
1) Backup your data.
2) Run a SMART long test and wait for it to finish: 'smartctl -t long /dev/sda'
3) Post the results and attributes: 'smartctl -a /dev/sda'
 
Old 04-08-2014, 02:36 PM   #9
cizzi
Member
 
Registered: Jun 2001
Distribution: Gentoo
Posts: 147

Rep: Reputation: 18
Quote:
Originally Posted by jyunker View Post
I am running Centos 6.5, 64 bit version of Linux. Now I have been getting an error about
my hard drive failure is immenent.

The trouble is I do not know whether to take it seriously. It has been saying pretty much the same thins for a long time - over a year.

I remember running across an error on Red Hat stating that this was a flaw in Red Hat (and hence Centos) ands hould be ignored. What is the story here?

I obviously do not want my hard drive to fail, but I also do not want to replace it needlessly.

Any help appreciated.

Thanks in advance.

R,

jyunker


The error I find on this can be found here:

https://bugzilla.redhat.com/show_bug.cgi?id=498115
Boot with a livecd like systemrescue cd and type "e2fsck /dev/sdX" X=number of failing partition, this will check your partition and tell you if certain inodes are corrupted and might need fixing.
 
Old 04-08-2014, 05:28 PM   #10
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37
Posts: 306

Rep: Reputation: 63
The manufacturer will dis-avow you if they learn that you run Linux.
They cannot cope with Linux, no amount of explanation will do anything. It is not in their book of answers. I wait for the day this might change, but I have not heard of it. (And I have not had a failed drive for a while now.)
Lie to them. Move the drive to a window or DOS something and tell them that is the system
you are using. Do not mention Linux.

The manufacturer disk tool will not likely tell you anything. My experiences with them were that they either see the drive as perfect, or cannot find it.

Use the SMART tools.

A disk drive that has not changed in over a year is rather stable.
My experience is that it goes from multiple bad sectors to a grinding noise in a week, if not sooner. They can get a few bad sectors early, as they are first encountered.
Always backup important stuff to somewhere not on the drive.
 
Old 04-08-2014, 05:33 PM   #11
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,447

Rep: Reputation: Disabled
Quote:
Originally Posted by jyunker View Post
I am running Centos 6.5, 64 bit version of Linux. Now I have been getting an error about
my hard drive failure is immenent.

The trouble is I do not know whether to take it seriously. It has been saying pretty much the same thins for a long time - over a year.
Then you've probably been extraordinarily lucky for over a year.

What you're seeing is most likely the S.M.A.R.T. status reported by the drive itself. In that case, obviously the drive can't predict the time of its own failure with perfect accuracy, but there's every reason to take such messages seriously.

You should run the following command and post the results:
Code:
smartctl -a /dev/sda
Replace the device name if your drive is not /dev/sda.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
hard drive failure? sneakyimp Linux - Hardware 3 10-19-2007 07:02 PM
Hard drive failure Oxagast Linux - Hardware 4 11-19-2006 03:47 PM
Hard Drive Failure wwnexc Linux - Networking 5 01-09-2006 09:48 PM
Please Help - Possible Hard Drive Failure krbreton Linux - Hardware 1 02-26-2004 12:31 PM
Is it a Hard-Drive Failure??? wiredX Linux - General 6 08-01-2003 12:33 PM


All times are GMT -5. The time now is 05:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration