LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-21-2009, 03:26 PM   #1
silverblackvoid_lnx
LQ Newbie
 
Registered: May 2009
Location: Guwahati, Assam, India
Distribution: Fedora, Ubuntu, RHEL 6, Puppy Linux
Posts: 18

Rep: Reputation: 0
questions regarding bad sector in hdd in F11 and how to remove/quarantine them


guys kindly give me some help.

i have got a bad sector on my hard drive (Seagate 250 GB SATA HDD).

in Palimpest Disk Utility it shows-
ID - 197
Attribute - Current Pending Sector Count
Current - 100
Worst - 100
Threshold - 0
Value - 1 Sector
Status - FAILING
Type - Old-age
Updates - Online.

i have completely erased the partitions and everything on my drive with Palimpest but the bad sector is still there.
will completely formatting the HDD remove this bad sector?can you guys tell me or give me some links regarding formatting with fdisk, mkfs, cfdisk.

guys would low-level formatting remove the bad sector? how can this be done in Linux.
i am inexperienced in hard disk formatting/partitioning stuff.i have tried using badblocks but it freezes my pc everytime at about 10.31%.
i just want use my hdd. i dont care much about data stability or consistency. if the bad sector can't be removed then is there any way by which i can direct my OS to skip the bad sectors so that those sectors are not accessed.

PS. if all this is too much of a bother to you guys, you could just give me some links to using fdisk, mkfs, cfdisk. i would be very grateful

right now booting F11 from USB Drive. thanks for hearing my rant.
 
Old 08-22-2009, 08:00 AM   #2
avalonit
Member
 
Registered: Jun 2008
Posts: 81

Rep: Reputation: 19
First try "dd if=/dev/zero of=/dev/yourdrive bs=1024000" and be very careful with this one command as it can wipe whatever you selected by mistake.

If the drive doesn't remap the bad block automatically, try creating your fs like "mke2fs -j -cc ..." This way drive should be checked for bad blocks and these marked to not be used.

Good to check if your drive is under warranty though.
 
Old 08-22-2009, 01:56 PM   #3
silverblackvoid_lnx
LQ Newbie
 
Registered: May 2009
Location: Guwahati, Assam, India
Distribution: Fedora, Ubuntu, RHEL 6, Puppy Linux
Posts: 18

Original Poster
Rep: Reputation: 0
thanks for ur reply avalonit.
 
  


Reply



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
Easy questions for F11 lynnevan Fedora 7 09-20-2009 01:51 PM
Bad sector woes :S kevingpo Fedora 4 07-07-2005 02:57 AM
remove bad sector form fat? nitin403 Mandriva 1 05-27-2005 03:20 AM
bad sector in HDD ??? hitesh_linux Linux - General 2 06-20-2003 03:54 PM
how to check for bad sector nakkaya Linux - General 1 01-16-2003 07:24 PM

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

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