Re: full data disk -- any chance of recovery

From: Jeff Frost <jeff(at)frostconsultingllc(dot)com>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Gregory S(dot) Williamson" <gsw(at)globexplorer(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: full data disk -- any chance of recovery
Date: 2006-01-04 01:18:50
Message-ID: Pine.LNX.4.64.0601031715130.8663@discord.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)frostconsultingllc(dot)com>
Frost Consulting, LLC http://www.frostconsultingllc.com/
Phone: 650-780-7908 FAX: 650-649-1954

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jim C. Nasby 2006-01-04 01:35:11 Re: full data disk -- any chance of recovery
Previous Message Gregory S. Williamson 2006-01-04 01:17:45 Re: full data disk -- any chance of recovery