pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Gregory S. Williamson <gsw@globexplorer.com>
Cc: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: full data disk -- any chance of recovery
Date: Tue, 3 Jan 2006 19:03:00 -0600
Message-ID: <20060104010300.GA82560@pervasive.com> (raw)
In-Reply-To: <7230.1136223929@sss.pgh.pa.us>
References: <71E37EF6B7DCC1499CEA0316A2568328024BBD84@loki.wc.globexplorer.net>
	<7230.1136223929@sss.pgh.pa.us>

On Mon, Jan 02, 2006 at 12:45:29PM -0500, Tom Lane wrote:
> "Gregory S. Williamson" <gsw@globexplorer.com> 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



view thread (21+ messages)  latest in thread

Message-ID: <20060104010300.GA82560@pervasive.com>
Permalink:  ../20060104010300.GA82560@pervasive.com/
Also on:    postgresql.org/message-id/20060104010300.GA82560@pervasive.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jnasby@pervasive.com, tgl@sss.pgh.pa.us, gsw@globexplorer.com, jeff@frostconsultingllc.com
  Subject: Re: full data disk -- any chance of recovery
  In-Reply-To: <20060104010300.GA82560@pervasive.com>
  References: <71E37EF6B7DCC1499CEA0316A2568328024BBD84@loki.wc.globexplorer.net> <7230.1136223929@sss.pgh.pa.us> <20060104010300.GA82560@pervasive.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox