From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bojan Belovic <bbelovic@usa.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: db recovery (FATAL 2)
Date: Wed, 08 May 2002 12:46:00 -0400
Message-ID: <3233.1020876360@sss.pgh.pa.us> (raw)
In-Reply-To: <20020508140005.13643.qmail@uwdvg023.cms.usa.net>
References: <20020508140005.13643.qmail@uwdvg023.cms.usa.net>
Bojan Belovic <bbelovic@usa.net> writes:
> You are correct, it's 7.1.2 . However, the problem is not with disk space
> (there's several gigs available), but there could be a problem with a bad
> 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 loss?
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.
If nothing else avails, see contrib/pg_resetxlog. But that should be
your last resort not first.
regards, tom lane
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: tgl@sss.pgh.pa.us, bbelovic@usa.net
Subject: Re: db recovery (FATAL 2)
In-Reply-To: <3233.1020876360@sss.pgh.pa.us>
References: <20020508140005.13643.qmail@uwdvg023.cms.usa.net> <3233.1020876360@sss.pgh.pa.us>
* 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