[CentOS] howto mark bad block with fsck?

Paul subsolar at subsolar.com
Wed Mar 8 03:47:32 UTC 2006


On Wed, 2006-03-08 at 10:17 +0800, ijez wrote:
> Hi,
> 
> Can anyone point me on howto use fsck to marking the bad block so it won't be use to store a file? I have one hdd with the bad block running on one of my server with this problem. While I rebuild a new server to replace the hdd, I really like to have a temporary solutions for that.
> 

Toss the drive ... on modern drives they use bad sector relocation to
map bad sectors to hidden sectors.  Once you start seeing bad sectors at
the OS level the drive has run out of sectors to relocate to and is
probably on it's way down the tubes.

Regards,
Paul Berger





More information about the CentOS mailing list