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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-07-2014, 11:55 AM
|
#1
|
Member
Registered: Aug 2009
Posts: 167
Rep:
|
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.
|
|
|
04-07-2014, 12:15 PM
|
#2
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
What error? Where are you seeing it? Are you running any disk checks or is it just popping up on the terminal?
|
|
|
04-07-2014, 12:38 PM
|
#3
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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.
|
|
|
04-07-2014, 04:25 PM
|
#4
|
Senior Member
Registered: May 2007
Posts: 1,007
Rep:
|
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.
|
|
|
04-07-2014, 07:29 PM
|
#5
|
LQ Newbie
Registered: Mar 2014
Posts: 15
Rep:
|
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.
|
|
|
04-08-2014, 08:10 AM
|
#6
|
Member
Registered: Aug 2009
Posts: 167
Original Poster
Rep:
|
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
|
|
|
04-08-2014, 10:32 AM
|
#7
|
Senior Member
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,789
|
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.
|
|
|
04-08-2014, 11:19 AM
|
#8
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
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'
|
|
|
04-08-2014, 02:36 PM
|
#9
|
Member
Registered: Jun 2001
Distribution: Gentoo
Posts: 153
Rep:
|
Quote:
Originally Posted by jyunker
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.
|
|
|
04-08-2014, 05:28 PM
|
#10
|
Member
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37, 14.2, 15.0
Posts: 655
Rep:
|
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.
|
|
|
04-08-2014, 05:33 PM
|
#11
|
Senior Member
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348
Rep:
|
Quote:
Originally Posted by jyunker
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.
|
|
|
All times are GMT -5. The time now is 03:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|