Re: Repairing a HD with fsck?
On Fri, Jan 15, 1999 at 09:22:37AM -0700, Scott J. Geertgens wrote:
> I recently posted a message about GCC not being able to compile due to
> dma_intr and/or read_intr errors. After receiving a response here and
> scouring the net I've realized that the problem lies on the drive itself
> (bad blocks or similar).
> My question is how do I go about fixing the problem? Will a forced fsck
> (fsck.ext2 -f /dev/hdb3) be sufficient?
No, that will only check the integrity of the filesystem structure.
Use badblocks to check the readability of your partition.
# /sbin/badblocks -b 1024 /dev/hdb3 <partition-size-in-Kb>