[CentOS] Is ext4 safe for a production server?

Ross Walker rswwalker at gmail.com
Fri Dec 11 18:28:40 UTC 2009


On Fri, Dec 11, 2009 at 9:52 AM, Jussi Hirvi <listmember at greenspot.fi> wrote:
> Centos 5.x, ext3, md raid1
>
> As I do not have UPS for all machines, and I most often use md raid
> (level 1), I would like to turn the write cache off for all of my server
> discs. But how?
>
> Below is what I have already found out:
>
> On the page
>
>        http://lwn.net/Articles/350072/
>
> I read that I could do this by running
>        hdparm -W0 /dev/sdX
> , but when I say
>        hdparm -h,
> it says that the -W option is “dangerous”.

Don't worry it is safe to use that option.

> And when I get this done, then how can I make the setting last over the
> next bootup?

rc.local it.

> P.S. Do you really have to quote the whole thread when you respond?

No just the relevant parts.

-Ross



More information about the CentOS mailing list