X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6330E11F8ADB for ; Tue, 18 Apr 2006 16:46:01 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0.12 X-Spam-Level: X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 9rTrhVccSrqm for ; Tue, 18 Apr 2006 16:45:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from chilco.textdrive.com (chilco.textdrive.com [207.7.108.242]) by postgresql.org (Postfix) with ESMTP id 7B1A911F8B9D for ; Tue, 18 Apr 2006 16:45:37 -0300 (ADT) Received: from [192.168.1.109] (unknown [209.149.57.250]) by chilco.textdrive.com (Postfix) with ESMTP id ACEFCDBBA7 for ; Tue, 18 Apr 2006 19:46:51 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v749.3) In-Reply-To: <17920.1145387726@sss.pgh.pa.us> References: <17920.1145387726@sss.pgh.pa.us> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Thomas F. O'Connell" Subject: Re: Invalid Page Headers Date: Tue, 18 Apr 2006 14:45:33 -0500 To: pgsql-admin@postgresql.org X-Mailer: Apple Mail (2.749.3) X-Archive-Number: 200604/170 X-Sequence-Number: 21339 On Apr 18, 2006, at 2:15 PM, Tom Lane wrote: > "Thomas F. O'Connell" 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)