Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaNYq-0002fe-2W for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Apr 2014 10:59:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WaNYp-0008BR-Gq for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Apr 2014 10:59:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaNYo-0008AF-Bs for pgsql-bugs@postgresql.org; Wed, 16 Apr 2014 10:59:22 +0000 Received: from moutng.kundenserver.de ([212.227.126.131]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaNYl-0000GT-Lz for pgsql-bugs@postgresql.org; Wed, 16 Apr 2014 10:59:22 +0000 Received: from anarazel.de (p5DDC7393.dip0.t-ipconnect.de [93.220.115.147]) by mrelayeu.kundenserver.de (node=mreue005) with ESMTP (Nemesis) id 0MWvfk-1WUnY133xs-00W0wn; Wed, 16 Apr 2014 12:59:17 +0200 Received: by anarazel.de (Postfix, from userid 1000) id A6BE4100A39; Wed, 16 Apr 2014 12:59:16 +0200 (CEST) Date: Wed, 16 Apr 2014 12:59:16 +0200 From: Andres Freund To: Heikki Linnakangas Cc: "digoal@126.com" , pgsql-bugs Subject: Re: BUG #10013: PostgreSQL 9.4 initdb FATAL: could not write to file "pg_xlog/xlogtemp.3590": No space left on devi Message-ID: <20140416105916.GB16358@awork2.anarazel.de> References: <20140414014442.15385.74268@wrigleys.postgresql.org> <534E3222.609@vmware.com> <201404161620172127337@126.com> <534E607B.8050502@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <534E607B.8050502@vmware.com> X-Provags-ID: V02:K0:dZyLlQ5y5Tn2S7oElGDw3OOnwD5AJp7WMVnlB09bYs2 vXIIA8P/EksGuPQhO76ucIu3BTGqvy39bKZOurMG0vrOi88m31 5U7LOKgoilRetfD3Igicdm8FEPRrAifLqLo9BDCWPt/2oFZc7X HzFiVfbR8Fxa0GMGEUTe9nHAPzZ0aewkYw8R5nWYhTHex04sPe 3blH2+eDkn3zyp41Y9G7Z7dQLxO+GbY+CFnxS7x/SlF0HektyI v7y+q/7jLyWtLWXxikYlKNFBb2/MXjdLYI5xeHdBPq1lD5lJD8 +XkiQpqA8A//6lqoU1OXiL5nNbDlFF5UrWHkAz3ekuRKZnUIl/ AhzTImu0kuDV+jRWLtAMkrTvxdkBxfQwUKnQ0OhUy X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 2014-04-16 13:50:35 +0300, Heikki Linnakangas wrote: > On 04/16/2014 11:20 AM, digoal@126.com wrote: > >HI, > > I can reproduce this. > > Ok. Can you try with the attached patch applied, please? Perhaps this should also support partial writes, akin to 79ce29c734c6a652b2f7193bda537cff0c8eb8c1? I don't find it all that unreasonble for the OS to refuse 16MB - or even bigger - writes in some scenarios. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs