bad sectors on disk

E

emekadavid

Guest
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.
 
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?
 
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.
 
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.View attachment 166View attachment 167

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.View attachment 165

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
 

Attachments

  • terminal.png
    terminal.png
    157.8 KB · Views: 4,670
  • Screenshot-320 GB Hard Disk (ATA TOSHIBA MK3265GSX) [-dev-sda] — Disk Utility.png
    Screenshot-320 GB Hard Disk (ATA TOSHIBA MK3265GSX) [-dev-sda] — Disk Utility.png
    120.4 KB · Views: 3,704
  • smart data.png
    smart data.png
    194.3 KB · Views: 3,410

Members online

No members online now.

Latest posts

Top