bad sectors on my ntfs partition, what do i do?
Rashkae
ubuntu at tigershaunt.com
Mon Aug 24 13:27:06 UTC 2009
Brian McKee wrote:
>
> If you'd prefer free or open solutions, you could repartition it to a
> single partition, then run mke2fs -cc on it - that will do a
> read-write test for bad blocks as it formats. Once it completes I'd
> write /dev/random to the whole drive with dd as a last test watching
> the output for errors, again if it looks ok and SMART tests pass, I'd
> put it back in service.l
>
I agree with most everything said, but for this step, the right tool for
the right job is badblocks.
Once your certain all data has been copied from the potentially failing
drive, run badblocks with either the -n or -w switch. (-n is
theoretically non-destructive, if the drive isn't in non-functioning
state and the process completes uninterrupted. -w is complete
destruction of the drive, and will be equivalent of a low level format
as well as complete surface test.)
More information about the ubuntu-users
mailing list