X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.225.181]) by svr1.postgresql.org (Postfix) with ESMTP id AC90ECB7A0 for ; Sat, 12 Jul 2003 19:43:48 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr5.postgresql.org [64.117.225.181]) (amavisd-new, port 10024) with ESMTP id 17528-10 for ; Sat, 12 Jul 2003 19:43:33 +0000 (GMT) Received: from debian (unknown [62.12.131.37]) by svr1.postgresql.org (Postfix) with SMTP id 1BA6CCB686 for ; Sat, 12 Jul 2003 16:43:13 -0300 (ADT) Received: (qmail 1632 invoked by uid 74); 12 Jul 2003 19:43:03 -0000 Received: from zdavatz@ywesee.com by debian by uid 89 with qmail-scanner-1.15 (clamscan: 0.54. Clear:. Processed in 1.413901 secs); 12 Jul 2003 19:43:03 -0000 Message-ID: <20030712194301.1623.qmail@debian> References: <20030711075859.7b0976a8.zdavatz@ywesee.com> <1057967403.24304.2052.camel@camel> In-Reply-To: <1057967403.24304.2052.camel@camel> From: "Zeno Davatz" To: Robert Treat Cc: pgsql-admin Subject: corrupt data - caused by lm-sensors? Date: Sat, 12 Jul 2003 21:43:01 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/117 X-Sequence-Number: 9457 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