Re: Database Recovery - Mailing list pgsql-admin

From Tom Lane
Subject Re: Database Recovery
Date
Msg-id 28713.1191819155@sss.pgh.pa.us
Whole thread Raw
In response to Re: Database Recovery  ("Mike C" <smith.not.western@gmail.com>)
List pgsql-admin
"Mike C" <smith.not.western@gmail.com> writes:
> On 10/8/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> If you're lucky, REINDEX might solve your problems.

> My problem is that I can't even start postmaster to perform the
> reindex on now. As soon as I try start (via pg_ctl, 8.1.10):
> ...
>  postgres_report[24165]: [9-1] LOG:  redo done at 520/6E2D100
>  postgres_report[24165]: [10-1] PANIC:  failed to re-find parent key
> in "24977" for split pages 230790/263989

Ugh, so that's happening during recovery cleanup.  Sucks to be you :-(

You should try pg_resetxlog, then start the database and reindex,
but I'm not holding out a lot of hope here.  It sounds like the
SAN failure messed things up beyond recovery.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: Warm/hot backup server question
Next
From: Darren Reed
Date:
Subject: postgres: will not recognise existing tables