LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 01-28-2004, 10: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, 04:41 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, SolydK 2013
Posts: 7,435

Rep: Reputation: 134Reputation: 134
"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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
View bad sectors or blocks on harddrive gward Linux - Hardware 1 05-06-2005 10:54 PM
Bad sectors tuxombie Linux - Hardware 3 01-29-2005 01:05 PM
Can linux recognise bad sectors? futurist Linux - Software 6 07-07-2003 03:39 AM
searching 4 bad sectors zeky Linux - Software 1 12-12-2002 08:49 AM
Bad sectors blystovski Linux - Software 1 10-17-2001 12:18 PM


All times are GMT -5. The time now is 02:54 AM.

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