Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id AF52847593F for ; Wed, 8 May 2002 17:10:06 -0400 (EDT) Mailbox-Line: From bbelovic@usa.net Wed May 8 17:10:06 2002 Received: from urdvg001.mx.net (urdvg001.mx.net [165.212.11.1]) by postgresql.org (Postfix) with SMTP id 07AAF475E62 for ; Wed, 8 May 2002 16:27:22 -0400 (EDT) Received: (qmail 4505 invoked from network); 8 May 2002 20:27:20 -0000 Received: from cmsgtwy01.cms.usa.net (165.212.11.139) by corprelay.cms.usa.net with SMTP; 8 May 2002 20:27:20 -0000 Received: USA.NET MXFirewall, messaging filters applied; Wed, 08 May 2002 20:26:54 GMT Received: from uwdvg023.cms.usa.net [165.212.8.23] by cmsgtwy01.cms.usa.net via mtad (CM.1201.1.04A) with ESMTP id 627geHuAx0151M39; Wed, 08 May 2002 20:26:49 GMT Message-ID: <20020508202717.1952.qmail@uwdvg023.cms.usa.net> Received: from 63.144.242.240 [63.144.242.240] by cmsweb06.cms.usa.net (USANET web-mailer CM.0402.1.01C); Wed, 08 May 2002 20:27:17 -0000 Date: Wed, 08 May 2002 16:27:17 -0400 From: Bojan Belovic To: Subject: Re: db recovery (FATAL 2) X-Mailer: USANET web-mailer (CM.0402.1.01C) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Status: Yes, hits=5.0 required=5.0 tests=RCVD_IN_OSIRUSOFT_COM, X_OSIRU_SPAM_SRC version=2.20 X-Spam-Flag: YES X-Spam-Level: ***** X-Spam-Checker-Version: SpamAssassin 2.20 (devel $Id: SpamAssassin.pm, v 1.77 2002/04/06 19:28:30 hughescr Exp $) X-Spam-Report: Detailed Report SPAM: -------------------- Start SpamAssassin results ---------------------- SPAM: This mail is probably spam. The original message has been altered SPAM: so you can recognise or block similar unwanted mail in future. SPAM: See http://spamassassin.org/tag/ for more details. SPAM: SPAM: Content analysis details: (5 hits, 5 required) SPAM: Hit! (2.0 points) Received via a relay in relays.osirusoft.com SPAM: [RBL check: found 240.242.144.63.relays.osirusoft.com., type: 127.0.0.4] SPAM: Hit! (3.0 points) DNSBL: sender is Confirmed Spam Source SPAM: SPAM: -------------------- End of SpamAssassin results --------------------- X-Archive-Number: 200205/71 X-Sequence-Number: 4246 It turns out it was a bad sector, and once the data was retreived and the drive replaced, postgres was able to go through the startup process sucessfully. Given that it did not report any errors on recovery, I suppose there was no data loss, but even if there was some damage to the log file, = it should be minor - the crash happened at 6am, almost no activity, so I'm not going to worry about that at all at this point. Anyway, thank you very much for your help. One quick question - you mentioned I should upgrade to 7.1.3 beofre I run vacuum again. What are the known problems that "ask" for this? Thanks again! Tom Lane wrote: > Bojan Belovic writes: > > You are correct, it's 7.1.2 . However, the problem is not with disk spa= ce > > (there's several gigs available), but there could be a problem with a b= ad > > sector on one of the log files. If this is the case, and the log file is > > corrupted, is there any way of recovering, even with a certain data los= s? >=20 > Hm. It's complaining about a write, not a read, so there is no lost > data (yet), even if your theory is correct. You might first try copying > the entire $PGDATA/pg_xlog directory somewhere else. >=20 > If nothing else avails, see contrib/pg_resetxlog. But that should be > your last resort not first. >=20 > regards, tom lane >=20 > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? >=20 > http://www.postgresql.org/users-lounge/docs/faq.html