X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 9D6D49DC80A for ; Tue, 3 Jan 2006 21:02:59 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67924-07 for ; Tue, 3 Jan 2006 21:03:02 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from flake.decibel.org (unknown [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id ED4299DC848 for ; Tue, 3 Jan 2006 21:02:56 -0400 (AST) Received: by flake.decibel.org (Postfix, from userid 1001) id 905503983E; Tue, 3 Jan 2006 19:03:00 -0600 (CST) Date: Tue, 3 Jan 2006 19:03:00 -0600 From: "Jim C. Nasby" To: Tom Lane Cc: "Gregory S. Williamson" , Jeff Frost , pgsql-admin@postgresql.org Subject: Re: full data disk -- any chance of recovery Message-ID: <20060104010300.GA82560@pervasive.com> References: <71E37EF6B7DCC1499CEA0316A2568328024BBD84@loki.wc.globexplorer.net> <7230.1136223929@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7230.1136223929@sss.pgh.pa.us> X-Operating-System: FreeBSD 6.0-RELEASE amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.069 required=5 tests=[AWL=0.069] X-Spam-Score: 0.069 X-Spam-Level: X-Archive-Number: 200601/32 X-Sequence-Number: 20120 On Mon, Jan 02, 2006 at 12:45:29PM -0500, Tom Lane wrote: > "Gregory S. Williamson" writes: > > 2006-01-02 00:30:01 LOG: could not close temporary statistics file "/data/postgres/gex_runtime/global/pgstat.tmp.1453": No space left on device > > 2006-01-02 00:33:54 ERROR: could not access status of transaction 0 > > DETAIL: could not write to file "/data/postgres/gex_runtime/pg_clog/0AFA" at offset 196608: No space left on device > > Just kill -9 all the postgres processes; everything you need should be > safely down in the WAL files. Another alternative: most unix filesistems actually set it up so that there is still some free space left even if it's reporting 100%. On FreeBSD, you can change the amount of reserved space with tunefs -m, but you should read the caveats in man tunefs. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461