On Mon, 2011-02-07 at 21:37 +0530, vishesh kumar wrote:
> Dear all
>   I suspect one of my hard disk have corruption. I want to perform
> surface scan to get idea of corrupted hard disk sectors. What command
> will be most appropriate for this purpose on RHEL 5.
> Does 'badblocks' is right command to use in this scenario ?

Vinesh,

>From 'man badblocks':

Important  note:  If the output of badblocks is going to be fed to the
e2fsck or mke2fs programs, it is important that the block size is
properly specified, since the block numbers which are generated  are
very  dependent  on the block size in use by the filesystem.  For this
reason, it is strongly recommended that users not run badblocks
directly, but rather use the -c option  of  the e2fsck and mke2fs
programs.

Hope this helps...

--Doc Savage
  Fairview Heights, IL

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to