pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zeno Davatz <zdavatz@ywesee.com>
To: Robert Treat <xzilla@users.sourceforge.net>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: corrupt data - caused by lm-sensors?
Date: Sat, 12 Jul 2003 21:43:01 +0200
Message-ID: <20030712194301.1623.qmail@debian> (raw)
In-Reply-To: <1057967403.24304.2052.camel@camel>
References: <20030711075859.7b0976a8.zdavatz@ywesee.com>
	<1057967403.24304.2052.camel@camel>

Robert Treat writes: 

> On Fri, 2003-07-11 at 01:58, Zeno R.R. Davatz wrote:
>> Hi List 
>> 
>> Out of some reason our data of our postgresql database has been corrupted. When we try to connect to the database we get: 
>> 
>> psql: ERROR:  _mdfd_getrelnfd: cannot open relation pg_type_oid_index:
>> No such file or directory 
>> 
>> REINDEX does not work. We get the same error.  
>> 
>> pgfsck gives us: wrong blockseize. 
>> 
>> We are using postgresql 7.3.3-1 (debian). 
>> 
> 
> uh oh, sounds like you might have some flakey hardware.  
> 
> try vacuumdb template1 and if that gets you in you might want to do a
> pg_dump and then do some hardware testing.
Thanks for the hint. In the meantime we could get access to some data with 
pgfsck 0.14 - great tool, great maintainer, very dedicated (Tom Lane says 
pgfsck does not exist). 

What I forgot to mention:
I installed lm-sensors (cvs) version and force-loaded some drivers. Then 
sensors-detect gave me a segmentation fault. Do you think that could have 
caused the data-corruption? 

Thanks for feedback. 

Zeno



view thread (3+ messages)  latest in thread

Message-ID: <20030712194301.1623.qmail@debian>
Permalink:  ../20030712194301.1623.qmail@debian/
Also on:    postgresql.org/message-id/20030712194301.1623.qmail@debian

 · 

reply

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: zdavatz@ywesee.com, xzilla@users.sourceforge.net
  Subject: Re: corrupt data - caused by lm-sensors?
  In-Reply-To: <20030712194301.1623.qmail@debian>
  References: <20030711075859.7b0976a8.zdavatz@ywesee.com> <1057967403.24304.2052.camel@camel> <20030712194301.1623.qmail@debian>

* 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