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

From Jeff Frost
Subject Re: full data disk -- any chance of recovery
Date
Msg-id Pine.LNX.4.64.0601031715130.8663@discord.dyndns.org
Whole thread Raw
In response to Re: full data disk -- any chance of recovery  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-admin
On Tue, 3 Jan 2006, Jim C. Nasby wrote:

> 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, excellent thought!  And on Linux at least you can change it with the
filesystem still mounted:

tune2fs -m 0 /dev/sdb1

would probably do the trick.

You might want to set it back after you're done though. :-)  Default appears
to be 5 on my machine.

--
Jeff Frost, Owner     <jeff@frostconsultingllc.com>
Frost Consulting, LLC     http://www.frostconsultingllc.com/
Phone: 650-780-7908    FAX: 650-649-1954

pgsql-admin by date:

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