Got bad sector on HDD in XFS partition, any utility to mark it bad/recover it like seatools does?

Justin Piszcz jpiszcz at lucidpixels.com
Wed Sep 6 11:31:40 UTC 2006



On Wed, 6 Sep 2006, Vijay Gill wrote:

> Hi,
>
> Got this bad sector in a seagate 40G hard disk. Is there any tool
> under linux to scan the surface of the disk and mark the sectors bad
> in file system (or at even lower level like seatools does)?
>
> Running FC5.
>
> In the mean while I am doing a dd on that partition to copy the data
> and try to recover it from there.
>
> Thanks
> Vijay
>
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

Yes, run the badblocks command.

If there is no important data on it, do this:

799] What is the best way to verify a hard drive has no bad blocks? 
/usr/bin/time badblocks -b 512 -s -v -w /dev/hdg

Justin.




More information about the fedora-list mailing list