Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b80Eh-0007vO-7Q for pgsql-bugs@arkaria.postgresql.org; Wed, 01 Jun 2016 07:06:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b80Ef-00025P-Nz for pgsql-bugs@arkaria.postgresql.org; Wed, 01 Jun 2016 07:06:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b80Ee-00024P-R5 for pgsql-bugs@postgresql.org; Wed, 01 Jun 2016 07:06:36 +0000 Received: from d.mail.sonic.net ([64.142.111.50]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b80Ea-0004NF-Q5 for pgsql-bugs@postgresql.org; Wed, 01 Jun 2016 07:06:35 +0000 Received: from engels (162-236-13-58.lightspeed.sntcca.sbcglobal.net [162.236.13.58]) (authenticated bits=0) by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id u5176RNd005261 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA256 bits=128 verify=NOT); Wed, 1 Jun 2016 00:06:27 -0700 Date: Wed, 1 Jun 2016 00:06:34 -0700 From: David Gould To: ganesh.kannan@weatheranalytics.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14168: ALTER TABLE SET LOGGED failing Message-ID: <20160601000634.1fac664c@engels> In-Reply-To: <20160601045741.30388.7312@wrigleys.postgresql.org> References: <20160601045741.30388.7312@wrigleys.postgresql.org> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVbrQ1hqZG3SLMWhZT69Mz/R82F6F+buxbB9ZjtrTJ21cV+cjUeag37Tu34nuWu4b15JGzuHIYvLZlJF5dpBapa1 X-Sonic-ID: C;DkmyW8cn5hGzqrsdzAjavA== M;dNQGXMcn5hGzqrsdzAjavA== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-Pg-Spam-Score: -4.0 (----) 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 Wed, 01 Jun 2016 04:57:41 +0000 ganesh.kannan@weatheranalytics.com wrote: > The following bug has been logged on the website: > > Bug reference: 14168 > > psql:mvTS2.sql:6: ERROR: could not extend file > "pg_tblspc/16404/PG_9.5_201510051/16407/61740.1": wrote only 4096 of 8192 > bytes at block 175411 > HINT: Check free disk space. > Time: 335539.031 ms > > However, there is enough free space available on the volumes to accommodate > several of the tables, but ALTER TABLE set logged command consistently > fails, df -h shows this: > > >> df -h | grep data5 > /dev/mapper/vg_pgdata5-lv_pgdata5 9.8T 9.5T 363G 97% /pg_land_data5 Sometimes the unix error ENOSPC covers more than disk space. For example you could be out of inodes. What does df -i show? -dg -- David Gould 510 282 0869 daveg@sonic.net If simplicity worked, the world would be overrun with insects. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs