Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id A92292E0093 for ; Thu, 15 May 2008 12:08:27 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 59747-03 for ; Thu, 15 May 2008 12:08:21 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.mnc.ch (62-2-77-205.static.cablecom.ch [62.2.77.205]) by developer.postgresql.org (Postfix) with ESMTP id B96C42E0089 for ; Thu, 15 May 2008 12:08:21 -0300 (ADT) Received: from localhost (mail2.mnc.ch [127.0.0.1]) by mail.mnc.ch (Postfix) with ESMTP id ED2F823079 for ; Thu, 15 May 2008 15:08:16 +0000 (GMT) X-Virus-Scanned: amavisd-new at mnc.ch Received: from mail.mnc.ch ([127.0.0.1]) by localhost (mail2.mnc.ch [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id PfjL17Hl9joM for ; Thu, 15 May 2008 15:08:16 +0000 (GMT) Received: from meuh.localdomain (62-2-77-204.static.cablecom.ch [62.2.77.204]) by mail.mnc.ch (Postfix) with ESMTP id 9123023073 for ; Thu, 15 May 2008 15:08:16 +0000 (GMT) Received: by meuh.localdomain (Postfix, from userid 1000) id 879CF183677; Thu, 15 May 2008 17:08:16 +0200 (CEST) To: "pgsql-performance\@postgresql.org" Subject: Re: which ext3 fs type should I use for postgresql References: <1210846262.16664.41.camel@philippe-desktop> <482C4F3D.6010808@emolecules.com> From: Guillaume Cottenceau X-Hashcash: 1:20:080515:pgsql-performance@postgresql.org::Ku479TPjhhw/rrDJ:000000000000000000000000000009BsN Date: Thu, 15 May 2008 17:08:16 +0200 In-Reply-To: <482C4F3D.6010808@emolecules.com> (Craig James's message of "Thu\, 15 May 2008 07\:57\:01 -0700") Message-ID: <87ve1fwqov.fsf@mnc.ch> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/214 X-Sequence-Number: 30182 Craig James writes: > Matthew Wakeling wrote: >> Probably of more use are some of the other settings: >> >> -m reserved-blocks-percentage - this reserves a portion of the filesystem >> that only root can write to. If root has no need for it, you can kill >> this by setting it to zero. The default is for 5% of the disc to be >> wasted. > > This is not a good idea. The 5% is NOT reserved for root's > use, but rather is to prevent severe file fragmentation. As Also, IIRC when PG writes data up to a full filesystem, postmaster won't be able to then restart if the filesystem is still full (it needs some free disk space for its startup). Or maybe this has been fixed in recent versions? -- Guillaume Cottenceau