Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2002 10:10:38 +0100
From:      freebsd-questions-local@insignia.com
To:        freebsd-questions@freebsd.org
Subject:   Re: Fixing a bad block on a disk
Message-ID:  <tefefug8ldgv34khsc99otr354rur2b6so@4ax.com>

next in thread | raw e-mail | index | archive | help
On Thu, 30 May 2002 13:01:22 +0100,
freebsd-questions-local@insignia.com wrote:

>A recent power spike left me with an unreadable
>block on an IDE drive, which FDISK can't fix, so
>I can't mount the partition.
>
>Fortunately it only contained a Squid cache, and
>more fortunately I had a spare partition which I
>was able to use so the machine is up and running.
>
>However I'd like to use the partition with the bad
>block. Is there any way I can map it out at the
>disk controller level, or failing that to tell
>newfs not to use that block when remaking the
>filesystem?

Turned out that it must have only been a bad
checksum, since I was able to dd over the one
block then it became readable and fsck was happy.

-- 
Jim Hatfield

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?tefefug8ldgv34khsc99otr354rur2b6so>