[CentOS] how to create file system with less bad block??

Thu Jul 30 13:47:42 UTC 2009
nate <centos at linuxpowered.net>

mcclnx mcc wrote:
> We have CENTOS 4.X and 5.X on DELL servers.  Recently we found some bad
> blocks happen on databases.  the way we create file system is:
>      mke2fs -j /dev/sdXX
> Does there has any good way can create file system with less bad block or
> avoid file system to use bad block?

Replace the disks, bad blocks indicate the disk is failing, by the
time you see bad blocks on the disk the disk has exhausted it's reserve
of blocks that it can automatically re-map.

There is no reason really not to replace the disks.