LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-01-2009, 12:29 PM   #1
LilNInny77
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
Hard Disk Failing Error in Ubuntu 9.10


I am new to Ununtu, but not to computers.
I installed Ubuntu last week, and got a hard disk failing error. I bought a new one, then got a Hard Disk failing error on another HD. I don't understand the possibility of 2 failing in a week, when they both were only 5 months old. I looked online and found “ubuntu 9.10 - failing hard disk bad sectors error” post, and have been trying to follow the instructions.

sudo fsck -pcfv /dev/sda
sudo apt-get install smartmontools
sudo smartctl --test=long /dev/sda
sudo smartctl -a /dev/sda
man fsck
man smartmontools
where sda is the name of your server. When I type
sudo apt-get install smartmontools it gives me the option to hit y/n then I get this screen

Package configuration



┌────────────────────────┤ Postfix Configuration ├────────────────────────┐


Please select the mail server configuration type that best meets your needs.
No configuration:
Should be chosen to leave the current configuration unchanged.
Internet site:
Mail is sent and received directly using SMTP.
Internet with smarthost:
Mail is received directly using SMTP or by running a utility such
as fetchmail. Outgoing mail is sent using a smarthost.
Satellite system:
All mail is sent to another machine, called a 'smarthost', for
delivery.
Local only:
<Ok>


It will not let me hit OK, tab, click on the mouse or anything. It totally freezes up. Is there anything I can do to get past this prompt so I can fix my failing hard disk?
Is there another way to fix a failing hard disk?

This is my first time ever posting in a forum like this, and I appreciate any help I can get. Thanks!
 
Old 12-01-2009, 05:38 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,775

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
Quote:
Originally Posted by LilNInny77 View Post
I am new to Ununtu, but not to computers.
I installed Ubuntu last week, and got a hard disk failing error. I bought a new one, then got a Hard Disk failing error on another HD. I don't understand the possibility of 2 failing in a week, when they both were only 5 months old. I looked online and found “ubuntu 9.10 - failing hard disk bad sectors error” post, and have been trying to follow the instructions.

It will not let me hit OK, tab, click on the mouse or anything. It totally freezes up. Is there anything I can do to get past this prompt so I can fix my failing hard disk?
Is there another way to fix a failing hard disk?

This is my first time ever posting in a forum like this, and I appreciate any help I can get. Thanks!
Well, I think the smartmontools are for letting a user/administrator know when a drive has/is failing. If you've got two in a short span, I'd leave the monitoring tools alone, and check your drive controller/motherboard and the drive cables. Two in a such a short time is a bit odd, and (to me), would point to something else, independent of the OS.
 
Old 12-31-2009, 04:36 PM   #3
Photon Blizzard
LQ Newbie
 
Registered: Sep 2009
Location: Oklahoma City
Distribution: Unbuntu 11.04 and FreeBSD Sometimes
Posts: 19

Rep: Reputation: 1
Greetings,

I found this thread after searching for the hard disk failure error which my Ubuntu 9.10 just popped up with today. It says "One or more of your hard disks may be failing", and to click the icon [!] for more info but there is no icon. This drive is less than a year old and I've never had a disk fail in less that 4 to 5 years. (And I've had a bunch)

I've rebooted, yelled at it and tried a small bit of voodoo magic but haven't run fsck on it yet. And it works just fine, I'm using it now. The linux partition is on the same drive as a Vista install and Vista hasn't complained about anything so far. I do however frequently complained about it. :-)

Has anyone else had this issue besides the first poster to this thread? At this time I'm more confident in the hardware than I am the Ubuntu message, but if anyone has ideas please let me/us know!

Thanks!

Photon
 
Old 12-31-2009, 04:57 PM   #4
Photon Blizzard
LQ Newbie
 
Registered: Sep 2009
Location: Oklahoma City
Distribution: Unbuntu 11.04 and FreeBSD Sometimes
Posts: 19

Rep: Reputation: 1
Greetings again,

I did a bit more research and I did find the icon and apparently this "bad sector" report is a bug.

Bug #438136 reported by Benjamin Drung on 2009-09-28

And amazingly enough there is "don't warn me if the disk is failing" check box on the Palimsest Disk Utility page.

Cheers!

(Voodoo Mogic Mon...)

Photon

Oh... Happy New Year!
 
Old 01-01-2010, 07:59 AM   #5
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,737

Rep: Reputation: 196Reputation: 196
If you want to check...

The manufacturer of the HDD may well provide a disk diagnosis utility that you can download and use to check the disk. Seagate has SeaTools, Samsung has HUTIL, etc. Some work under Linux, some are live-cds.
 
  


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
Ubuntu 9.10 hard disk error altella Ubuntu 5 11-03-2009 05:22 PM
Master Hard Disk Error after installing Ubuntu 8.10 - hard disk died koja Linux - Hardware 3 04-13-2009 08:44 AM
Hard disk failing? write error: Bad file descriptor glt Linux - Hardware 4 12-14-2005 10:41 AM
Is my hard disk failing David_Moses Linux - General 9 06-15-2005 12:29 PM
failing hard disk...i think... zepplin611 Linux - Hardware 3 03-03-2004 08:57 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration