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:36:44 UTC 2006



On Wed, 6 Sep 2006, Vijay Gill wrote:

>> 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.
>> 
>
> Sorry I must have mentioned that I did badblocks also, I got the
> sector/block number also which was bad. Now how do I get that bad
> sector/block marked as bad in the file system also so that the OS does
> not try to allocate it for data in the future.
>
> Vijay
>
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

That'd depend on what FS you are using, I'd ask the EXT3 or XFS mailing 
list depending upon which FS you are currently using.

Justin.




More information about the users mailing list