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 |
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.
|
 |
01-11-2006, 09:31 PM
|
#1
|
LQ Newbie
Registered: Jan 2006
Distribution: SUSE 10.0
Posts: 7
Rep:
|
HARD DISK BAD SECTOrS
hello i would like your help
im a newbie on linux suse 10
im looking for a program that allows me to explore sectors on my HDD
like a SCANDISK, but one that can actually fix bad sectors or at least mark them...
i have couple of bad sectors and sometimes my kde3 just freeze
hope you can help me i just neeed a program or command name and small instructions if it isnt that much trouble.
LVM
|
|
|
01-11-2006, 10:14 PM
|
#2
|
Senior Member
Registered: Oct 2003
Posts: 3,018
|
Download the hard drive diagnostic utility from the hard drive manufacturer's website. All the main hard drive manufacturers have them available(seagate, maxtor, wester digital, hitachi/ibm). The manufacturer's utilities are best for this job.
|
|
|
01-12-2006, 09:08 AM
|
#3
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo on headless; Arch on everything that requires a GUI
Posts: 6,941
Rep: 
|
Welcome to LQ!
You can run badblocks and save the bad sectors to a file; then use mkfs to make sure the filesystem won't use those sectors.
Last edited by Bruce Hill; 01-12-2006 at 09:10 AM.
|
|
|
01-12-2006, 05:55 PM
|
#4
|
LQ Newbie
Registered: Jan 2006
Distribution: SUSE 10.0
Posts: 7
Original Poster
Rep:
|
ok how to add MKFS the bad block info?
how to do MKFS not to read the bad blocks?
thanx
|
|
|
01-12-2006, 05:59 PM
|
#5
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo on headless; Arch on everything that requires a GUI
Posts: 6,941
Rep: 
|
To be quite honest with you I've never done it,
but was told to by a guy who's been Slacking
longer than me. See if you can figure it out by
reading the man pages; in the meantime, maybe
one of them gurus will show up. I have a drive
in a lappy with a bad block ... just haven't
stopped to do this yet.
|
|
|
01-13-2006, 12:51 PM
|
#6
|
Senior Member
Registered: Oct 2003
Posts: 3,018
|
You should use the "-c" option with mkfs:
# mkfs -ct <filesystem> <partition device file>
"c" causes mkfs to check for bad blocks before creating the filesystem and not use those blocks.
However, I would still recommend using the manufacturer's hard drive utilities to thoroughly check the drive. The presence of noticable bad blocks such that it's interfering with proper functioning is a sign that the drive may be on it's way out. Back up your data and check the drive out. It may be time to start looking at new hard drives.
|
|
|
03-02-2007, 05:14 PM
|
#7
|
LQ Newbie
Registered: Mar 2007
Posts: 3
Rep:
|
bad sectors?
If you have problems with hdd bad sectors I found something at fix-hdd-bad-sectors.com Good luck I hope you will resolve your problem.
|
|
|
03-02-2007, 05:16 PM
|
#8
|
LQ Newbie
Registered: Mar 2007
Posts: 3
Rep:
|
bad sectors...
|
|
|
All times are GMT -5. The time now is 02:32 AM.
|
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
|
|