Re: database corruption

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Jeff Brenton <jbrenton(at)sandvine(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: database corruption
Date: 2009-04-09 04:53:51
Message-ID: 49DD7F5F.6040403@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Brenton wrote:

> I've attempted to re-index the pkey listed but after an hour it fails
> with
>
> REINDEX INDEX testrun_log_pkey;
>
> ERROR: could not write block 1832079 of temporary file: No space left
> on device
>
> HINT: Perhaps out of disk space?
>
> There is currently 14GB free on the disk that postgres is installed on.
> Does anyone know what I can do to get the db up and running again?

Is there 14GB free at the time PostgreSQL claims to run out of space? Try:

watch -n 60 "df -m /db"

and see if the free space falls close to zero during your reindex attempt.

Personally, I'd just try to give Pg some room to breathe.

--
Craig Ringer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz *EXTERN* 2009-04-09 06:09:01 Re: database corruption
Previous Message John R Pierce 2009-04-09 03:54:33 Re: existence of column name