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? Thanks. ______________________________________________________________________________________________________ ?????????Yahoo!??????2.0????????????? http://tw.mg0.mail.yahoo.com/dc/landing
Vaclav Mocek
2009-Jul-30 13:46 UTC
[CentOS] how to create file system with less bad block??
The bad blocks are hardware failure, you should start thinking about disks replacement. 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? > > Thanks. > > > ______________________________________________________________________________________________________ > ?????????Yahoo!??????2.0????????????? http://tw.mg0.mail.yahoo.com/dc/landing > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
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. nate