From: Thomas F. O'Connell <tfo@sitening.com>
To: pgsql-admin@postgresql.org
Subject: Re: Invalid Page Headers
Date: Tue, 18 Apr 2006 14:45:33 -0500
Message-ID: <C2B4E2FA-1C42-4C21-97DF-3CB6D3CAB4BF@sitening.com> (raw)
In-Reply-To: <17920.1145387726@sss.pgh.pa.us>
References: <B8F30540-C0A5-4CF7-8DB2-867DFF25E58D@sitening.com>
<A8661BBC-FC31-4AA1-BA22-6FAC15B32D74@sitening.com>
<17920.1145387726@sss.pgh.pa.us>
On Apr 18, 2006, at 2:15 PM, Tom Lane wrote:
> "Thomas F. O'Connell" <tfo@sitening.com> writes:
>> I would've expected the RAID to protect postgres from the possibility
>> of data corruption, but I guess not.
>
> Ooops :-(. It might be interesting to get pg_filedump dumps of the
> corrupted pages, just to see what the failure pattern looks like.
> I doubt there's much we can do about it, but you don't know till you
> look. ("If we knew what it was we were doing, it wouldn't be
> research.")
I'm still looking into what actually caused the hardware failures and
how it could've reached a level where it would've affected postgres.
I'll grab pg_filedump and report back.
In the meantime, should I leave the database online while I attempt
to recover? It's still unclear to me whether postgres will restart
with invalid page headers. I certainly can't run pg_dumpall, for
instance.
I'm glad that there have so far been only 3 relations affected... :(
--
Thomas F. O'Connell
Database Architecture and Programming
Sitening, LLC
http://www.sitening.com/
3004 B Poston Avenue
Nashville, TN 37203-1314
615-260-0005 (cell)
615-469-5150 (office)
615-469-5151 (fax)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tfo@sitening.com
Subject: Re: Invalid Page Headers
In-Reply-To: <C2B4E2FA-1C42-4C21-97DF-3CB6D3CAB4BF@sitening.com>
References: <B8F30540-C0A5-4CF7-8DB2-867DFF25E58D@sitening.com> <A8661BBC-FC31-4AA1-BA22-6FAC15B32D74@sitening.com> <17920.1145387726@sss.pgh.pa.us> <C2B4E2FA-1C42-4C21-97DF-3CB6D3CAB4BF@sitening.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox