Re: full data disk -- any chance of recovery - Mailing list pgsql-admin

From Jim C. Nasby
Subject Re: full data disk -- any chance of recovery
Date
Msg-id 20060104010300.GA82560@pervasive.com
Whole thread Raw
In response to Re: full data disk -- any chance of recovery  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: full data disk -- any chance of recovery  (Jeff Frost <jeff@frostconsultingllc.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: migrating oracle table to PostgresQL
Next
From: "Gregory S. Williamson"
Date:
Subject: Re: full data disk -- any chance of recovery