X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E80BFD1DB35 for ; Thu, 8 Apr 2004 11:52:35 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 69849-02 for ; Thu, 8 Apr 2004 11:52:34 -0300 (ADT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 3EF09D1DB59 for ; Thu, 8 Apr 2004 11:52:30 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i38EqXV20923; Thu, 8 Apr 2004 10:52:33 -0400 (EDT) From: Bruce Momjian Message-Id: <200404081452.i38EqXV20923@candle.pha.pa.us> Subject: Re: data=writeback In-Reply-To: <49386.82.48.55.72.1081429266.squirrel@www.endian.it> To: list@1006.org Date: Thu, 8 Apr 2004 10:52:33 -0400 (EDT) Cc: pgsql-performance@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/110 X-Sequence-Number: 6410 list@1006.org wrote: > > When I give "mount" at the command line, everything looks just fine : > > > > /dev/sda2 on / type ext3 (rw,noatime,data=ordered) > > none on /proc type proc (rw) > > usbdevfs on /proc/bus/usb type usbdevfs (rw) > > /dev/sda1 on /boot type ext3 (rw,noatime,data=ordered) > > none on /dev/pts type devpts (rw,gid=5,mode=620) > > none on /dev/shm type tmpfs (rw) > > /dev/sdb1 on /usr/local/pgsql type ext3 (rw,noatime,data=writeback) > > /dev/sda3 on /usr/local/pgsql/wal type ext3 (rw,noatime,data=ordered) > > > > It looks like the labels are not really used, just the mount-points. Or > > could this cause other problems I am not aware of? Everything seems to > > be working just fine, for several months now... > > Probably /dev/sdb1 and /dev/sda3 have the same labels and mount > simply mounts them in a consistent way according to some logic > we're not aware of. > > I'd say: if it works don't touch it ;) > > What remains unresolved is the question whether data=writeback is ok > or not. We'll see if somebody has more information on that one... Should be fine. We don't continue until fsync() writes all the data. We don't care what order it is written in, just that is all written before we continue. -- 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