Home > Archive > PostgreSQL Administration > January 2006 > ext3 with data=ordered









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ext3 with data=ordered
Jeff Frost

2006-01-28, 7:24 am

Is it reasonable to mount the PGDATA filesystem with data=writeback on ext3 as
long as the PGXLOG filesystem is mounted data=ordered and fsync=on? Or is
this only acceptable if you have battery backed controllers?

--
Jeff Frost, Owner < jeff@frostconsulting
llc.com>
Frost Consulting, LLC http://www.frostconsultingllc.com/
Phone: 650-780-7908 FAX: 650-649-1954

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Bruce Momjian

2006-01-31, 8:25 pm

Jeff Frost wrote:
> Is it reasonable to mount the PGDATA filesystem with data=writeback on ext3 as
> long as the PGXLOG filesystem is mounted data=ordered and fsync=on? Or is
> this only acceptable if you have battery backed controllers?


data=writeback is fine on all PostgreSQL file systems, including pg_xlog
because we fsync() it on commit. In fact it is the recommended mount
option for ext3.

--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql
.org so that your
message can get through to the mailing list cleanly

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com