|
-
bad sectors on disk
how do you repair a disk that is reported to have many bad sectors and fsck reports that the filesystem is mounted.
-
-
You could use the badblocks command to create a list of bad blocks.
Then you can format the disk with mkfs or mke2fs (with the -l option you can provide a bad blocks list that won't be used in the filesystem).
This is just a temporary solution though. When there are bad sectors, more will follow.
-
-
 Originally Posted by WeAreGeek
You could use the badblocks command to create a list of bad blocks.
Then you can format the disk with mkfs or mke2fs ( with the -l option you can provide a bad blocks list that won't be used in the filesystem).
This is just a temporary solution though. When there are bad sectors, more will follow.
Not necessarily. I have some bad sectors on my hard drive. What I did was to make a partition on the part which has the bad sectors. Then I just do not use that particular partition. It's been two years now. The rest of the hard drive is still working well, 12-16 hours every day, seven days a week.
-
-
-
-
I have a hard drive that I actually throw away because of bad sector years ago. I never bother to partition, How do you know which partition has bad sector?
-
-
i ran badblocks command with the "-o file" command and the hard disk came out clean. i ran it as /dev/sda i.e the whole disk not minding partitions. wondering why blag says the disk is sick?
-
-
FYI, *Linux Poison* has some useful info on this topic and more
Source (from search) --http://linuxpoison.blogspot.com/2008...rrors-and.html
Howto check disk drive for errors and badblocks, by Nikesh Jauhari
Last edited by pane-free; 07-23-2012 at 01:09 PM.
-
The Following User Says Thank You to pane-free For This Useful Post:
-
-
-
 Originally Posted by enhu
I have a hard drive that I actually throw away because of bad sector years ago. I never bother to partition, How do you know which partition has bad sector?
Well, half of it was guesswork and half of it was from my experience with literally thousands of hard drives.
I first noticed that my hard drive was failing when my Windows installation became unstable. Sometimes it boots up. At other times, it just died. Finally it died totally. I couldn't even re-install it.
That was when I tried marking off the first part of the hard drive. I started by marking off only 10Mb. Didn't work. So now I have marked off 100Mb. Just left that partition totally unallocated. I did that a couple of years back. My hard drive is still working up to today.
It's good that my Windows died. Otherwise I wouldn't have found Linux. Now Linux is my main os. I have Windows 8 only to play World of Warcraft.
-
-
 Originally Posted by Victor Leigh
I first noticed that my hard drive was failing when my Windows installation became unstable. Sometimes it boots up. At other times, it just died. Finally it died totally. I couldn't even re-install it.
Greetings!!!!
I'm having same problem in my HDD...same as u unable to reinstall windows in it.
I also installed ubuntu in logical drive and left primary partition to install windows in it...to make it start again...but it couldn't help.
i ran Ubuntu live CD...and disk utility is showing smart status as "DISK FAILURE IS IMMINENT" also showing 2047 badsectors.Screenshot-320 GB Hard Disk (ATA TOSHIBA MK3265GSX) [-dev-sda] — Disk Utility.pngsmart data.png
tried also with $ sudo badblocks -v /dev/sda (by making my all HDD unallocated) it took 135 hrs and still continued so i made it stop.terminal.png
currently trying to format my HDD as ext2 bcoz somebody gave me this link
but i want ur help to make my HDD again reusable....bcoz its all started same as u mentioned,...and as u made it..so plz...looking for ur suggestion
-
Similar Threads
-
By News in forum Linux News
Replies: 0
Last Post: 01-30-2012, 12:13 PM
-
By thelowbudget in forum General Linux
Replies: 1
Last Post: 01-14-2012, 12:40 PM
-
By Fred in forum Linux News
Replies: 1
Last Post: 12-16-2011, 02:36 PM
-
By Fred in forum Linux News
Replies: 0
Last Post: 11-13-2011, 07:25 AM
-
By Fred in forum Linux News
Replies: 0
Last Post: 11-03-2011, 09:22 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Check out Linux Central for Linux software and other goodies!
» Recent Threads
» Stats
Members: 3,530
Threads: 3,911
Posts: 9,418
Top Poster: Fred (1,486)
» Links
|
Bookmarks