bad sectors on my ntfs partition, what do i do?

Haneef Bashir darkfena313 at gmail.com
Mon Aug 24 15:01:05 UTC 2009


On Mon, Aug 24, 2009 at 9:27 PM, Rashkae<ubuntu at tigershaunt.com> wrote:
> 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.)


ok ill try that. thanks all for  the help.




More information about the ubuntu-users mailing list