Re: missing pg_clog files ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: missing pg_clog files ?
Date: 2003-09-22 16:16:59
Message-ID: 2249.1064247419@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk> writes:
> Indeed, the plain -d dump says that I have a chunk of /var/mail/prlw1
> in 1000-13ff. No wonder postgres complained!

Yipes. We have seen this sort of thing once or twice in the past.
I don't know whether you are looking at a disk drive fault (dropping
the right data onto the wrong sector) or a kernel fault (getting
confused about which buffer holds which file block), but I believe
it's one or the other. It's hard to see how anything at the application
level could have gotten those two files switched. You might look to see
if there are any updates available for your kernel.

As for recovery, you probably want to drop and reload at least that one
table. Whether it's worth a complete reload is your call.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Paulo Scardine 2003-09-22 17:53:45 Re: Killing the backend to cancel a long waiting query
Previous Message Stephan Szabo 2003-09-22 16:16:19 Re: postgres 6.2 vacuum