Re: corrupted files

From: Klaus Ita <klaus(at)worstofall(dot)com>
To: Greg Stark <stark(at)mit(dot)edu>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: corrupted files
Date: 2013-07-29 21:49:31
Message-ID: CAGrfkYM67NUWFvNHrSqQTA+BLKqyggzx9K+J5jE0AjNKsrGxyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

Hi Greg!

Thank you for your immediate response. I cannot tell you the xfs_repair
files that were mangled but I did the repair on an lvm snapshot. the files
were not listed in 'select * from pg_class'. Might not be THE source for
inodes needed by the cluster?

I agree, it does not really sonud like a pg bug, rather a pg corruption due
to whatever else. I cannot imagine xfs / raid / lsi combination being the
problem. I rather guess that some ram might have been corrupted.

I am moving the cluster to another hardware and hope to have better insight
there.

I am sorry for being partially vague. I cannot really grasp the problem
myself, this is why my description might be lacking detail.

I will cross-post to 'general'

thx,k

On Mon, Jul 29, 2013 at 11:38 PM, Greg Stark <stark(at)mit(dot)edu> wrote:

> On Mon, Jul 29, 2013 at 10:19 PM, Klaus Ita <klaus(at)worstofall(dot)com> wrote:
> > My feeling is, that 'something' got confused with hot-standby and
> > wal_archiving leading to this situation, that seems to be partially xfs
> > caused?????? xfs_repair mentionned some missing files, that pg did not
> > expect to have (maybe truncated tables??).
>
> This doesn't sound like a problem with wal archiving or hot standby.
> It doesn't sound like a postgres bug at all. It sounds like your
> filesystem deleted some files that Postgres needs. The pg clog
> contains critical data that you're not going to be able to get by
> without.
>
> I suggest posting to pgsql-general and include more information to
> help people help you. You say xfs_repair mentioned some missing files
> but don't include the actual error messages for example.
>
>
> --
> greg
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Klaus Ita 2013-07-29 22:37:27 Fwd: corrupted files
Previous Message Greg Stark 2013-07-29 21:38:31 Re: corrupted files

Browse pgsql-general by date

  From Date Subject
Next Message Klaus Ita 2013-07-29 22:37:27 Fwd: corrupted files
Previous Message Greg Stark 2013-07-29 21:38:31 Re: corrupted files