LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-16-2011, 03:03 AM   #1
dsenic2000@yahoo.com
LQ Newbie
 
Registered: Feb 2011
Location: Belgrade, Serbia
Distribution: Debian, Ubuntu
Posts: 5

Rep: Reputation: 0
Unhappy Bad sectors on Hard Disk


Hi All!
During booting my Debian 6 - Squeeze (updated with all currently available patches), and after about a Month of successful work, I encountered the messages about problems in sectors reading, some message like "BAD media", with exit code 0x9. These messages were posted in the boot point after GDM was succ. started. After entering the DiskUtility, I saw that hard disk had "a few of bad sectors". Even the MBR was mentioned in the dialog box. Is there any kind of utility for Squeeze to eliminate these bad sectors? My disk is 2 years old, 250GB Segate device. I tried to reinstall grub and performed file checking, but the problem persisted. Comparing to Ubuntu distro, I noticed the following: Ubuntu 9.10 (installed before Squeeze) reminded me at such a kind of problem just after the installation; but, after pooling updates, the warning disappeared, and never more arose. Also, on Debian Lenny (was there before Ubuntu 9.10) I didn't encounter any kind of problems (that is, Lenny didn't recognize any bad sectors at all). Can I conclude that Ubuntu 9.10 automatically marked these sectors as bad (i.e. added them in the sectors black-list) and continued to work normally, while Squeeze can not do this?
Regards,
D.S.
 
Old 03-16-2011, 06:00 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
No. It's time to replace the disk. It's not a question of what Squeeze can and cannot do. If the OS is seeing bad sectors, then the drive has already exhausted its pool of spare blocks.
 
1 members found this post helpful.
Old 03-16-2011, 06:31 AM   #3
never say never
Member
 
Registered: Sep 2009
Location: Indiana, USA
Distribution: SLES, SLED, OpenSuse, CentOS, ubuntu 10.10, OpenBSD, FreeBSD
Posts: 195

Rep: Reputation: 37
AlucardZero is correct, best course of action is replace the disk. I would add the following.

At least here in the states Seagate drives carry a 5 year warranty, so I would investigate that. You should also get a hold of the Seagate disk utilities (from their website), they will test the drive and provide detailed information about any problems.

If there is some reason you can't replace the drive you might try the software called SpinRite (www.grc.com) it is data recovery software. Be warned though, because of the way it works, depending on what is wrong with the drive it may repair it or kill it and it can take days to run.
 
1 members found this post helpful.
Old 03-16-2011, 07:29 AM   #4
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 156Reputation: 156
I had a similar issue. I had 6 reported bad sectors and that was enough to freeze my system (temporarily or permanently) at times.
I reinstalled my system on a different hard disk and i reformatted (dd bs=16M if=/dev/zero of=yourdiskdevice) the faulty partition and the bad sectors were no longer reported in SMART.
 
1 members found this post helpful.
Old 03-17-2011, 02:01 AM   #5
dsenic2000@yahoo.com
LQ Newbie
 
Registered: Feb 2011
Location: Belgrade, Serbia
Distribution: Debian, Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Smile

You've right!

The best solution is to replace the HD. I hope I'll survive somehow the procedure of new installation.

Thank You, and best regards!

D.S.
 
Old 03-17-2011, 02:07 AM   #6
dsenic2000@yahoo.com
LQ Newbie
 
Registered: Feb 2011
Location: Belgrade, Serbia
Distribution: Debian, Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Cool Regarding the local Segate's disks

To "never say never"
The quality of HDs in the USA is, probably, high enough to survive 5 years; but in my area, mostly, we have "yellow" components, assembled somewhere at the Far East, and delivered here "under the desk", that means - without quality pass procedure completed. For that reason SW doesn't work entirely well, problems arise with "plug and cry" components' drivers and so on, and so on. No matter of that, thank You and have a good time!

D.S.
 
  


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
Bad Sectors on Hard Disk cccc Linux - Hardware 5 12-19-2010 05:42 PM
Repair Bad Hard Disk Sectors writedom Linux - Newbie 1 06-18-2008 08:25 PM
HARD DISK BAD SECTOrS zoetrope87 Linux - Hardware 7 03-02-2007 05:16 PM
HARD DISK BAD SECTOrS zoetrope87 Linux - Software 2 01-12-2006 03:54 AM
How to remove bad sectors on hard disk ? emailssent General 4 10-13-2004 09:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:15 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