LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-28-2004, 11:09 AM   #1
Lindquist
LQ Newbie
 
Registered: Nov 2003
Location: Denmark
Distribution: CRUX
Posts: 3

Rep: Reputation: 0
bad sectors on harddrive


Hi all.

I have a 80gb seagate harddrive. I've run a seagate diagnostic tool on it, and it found some bad sectors... So I did a little studying on the net, and found that ext2/3 filesystems support blocking of bad sectors.

This is not my primary drive, but I thought that I might as well use it for movies / mp3s etc...

So I made one big partition on it with fdisk, but when I did 'mkfs.ext3 -c -c /dev/hdb1' to make the filesystem and do a destructive test it did not report a single error.

So I'm thinking is badblocks not able to find my bad sectors? or has it marked them silently?

I know which sectors are bad (seagate tools told me) so is there any way I can check the list of bad sectors on the fs or define them manually (after creation)???

Hope anyone knows, Thanx
 
Old 01-28-2004, 05:41 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,370

Rep: Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563
"I've run a seagate diagnostic tool on it, and it found some bad sectors..."

Seagate (and every other drive manufacturer) puts some extra blocks at the end of the disk. When you run the low level Seagate utility, one of the options is to redirect bad block to the extra blocks at the end. Did you select this option when you ran the Seagate diagnostic program? Maybe it is the default. If the Seagate diagnostic program redirected the addresses of the bad blocks to the extra blocks then 'mkfs.ext3 -c -c /dev/hdb1' will find a hardware error free disk.

"I know which sectors are bad (seagate tools told me) so is there any way I can check the list of bad sectors on the fs or define them manually (after creation)???"

Is there any way that you can ask the Seagate diagnostic to report which bad blocks have been readdressed to a spare block?

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


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
View bad sectors or blocks on harddrive gward Linux - Hardware 1 05-06-2005 11:54 PM
Bad sectors tuxombie Linux - Hardware 3 01-29-2005 02:05 PM
Can linux recognise bad sectors? futurist Linux - Software 6 07-07-2003 04:39 AM
searching 4 bad sectors zeky Linux - Software 1 12-12-2002 09:49 AM
Bad sectors blystovski Linux - Software 1 10-17-2001 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:49 AM.

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
Open Source Consulting | Domain Registration