From: Andrew Sullivan <andrew@libertyrms.info>
To: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: another pg database corruption?
Date: Tue, 28 Oct 2003 10:58:26 -0500
Message-ID: <20031028155825.GB31398@libertyrms.info> (raw)
In-Reply-To: <3F9E7955.F451D96E@t1.unisoftbg.com>
References: <3F9D5424.781E6035@t1.unisoftbg.com>
<20031028145710.GG31003@libertyrms.info>
<3F9E7955.F451D96E@t1.unisoftbg.com>
On Tue, Oct 28, 2003 at 03:12:37PM +0100, pginfo wrote:
> >
>
> I do not have made any patchin on my kernel.I used the standart reiserfs
> with my linux distro.
Yes, but have you kept up to date with new kernel releases from Red
Hat? They're pretty good about releasing patched kernels if there is
a problem.
> > your disk. Note that to produce useful results, you may have to do
> > the destructive tests. You'll be wanting to back up your data first.
>
> I can not:). If I try pg_dump the pg crashes.One of my problems is to
> restore this data if possible.
Shut down the database, I'm afraid, and copy the data directory
before you start doing things.
> >From this position I spoke, that I need to be sure that pg is very stable.
So far as I've heard, the cases of clog file corruption have all been
related to hardware. You'd best think about replacing your disk or
your controller. Have you had any crashes lately? Anything unusual?
Are you using ECC RAM? (If not, are you sure you don't have bad RAM?
If you got a bad bit written at the wrong time, you'd have a real
mess.)
> Any idea for fixing this data is wellcome. I will check the data
> inconsistent.
As I understand it, you need to zero out the file with dummy data in
order to get going again. You really need to plough the archives for
what to do, though. I've never had to do this.
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Afilias Canada Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110
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: andrew@libertyrms.info
Subject: Re: another pg database corruption?
In-Reply-To: <20031028155825.GB31398@libertyrms.info>
References: <3F9D5424.781E6035@t1.unisoftbg.com> <20031028145710.GG31003@libertyrms.info> <3F9E7955.F451D96E@t1.unisoftbg.com> <20031028155825.GB31398@libertyrms.info>
* 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