pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
corrupt data - caused by lm-sensors?
3+ messages / 3 participants
[nested] [flat]

* corrupt data - caused by lm-sensors?
@ 2003-07-12 19:43 Zeno Davatz <zdavatz@ywesee.com>
  2003-07-14 21:27 ` Re: corrupt data - caused by lm-sensors? Will LaShell <will@lashell.net>
  0 siblings, 1 reply; 3+ messages in thread

From: Zeno Davatz @ 2003-07-12 19:43 UTC (permalink / raw)
  To: Robert Treat <xzilla@users.sourceforge.net>; +Cc: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: corrupt data - caused by lm-sensors?
  2003-07-12 19:43 corrupt data - caused by lm-sensors? Zeno Davatz <zdavatz@ywesee.com>
@ 2003-07-14 21:27 ` Will LaShell <will@lashell.net>
  2003-07-15 05:23   ` Re: corrupt data - caused by lm-sensors? Zeno R.R. Davatz <zdavatz@ywesee.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Will LaShell @ 2003-07-14 21:27 UTC (permalink / raw)
  To: Zeno Davatz <zdavatz@ywesee.com>; +Cc: pgsql-admin

On Sat, 2003-07-12 at 12:43, Zeno Davatz wrote:
> 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? 

You did this on a production system? At any rate, depending on what /
how it segfaulted it has a good chance of confirming what the others
have suggested in that you have some bad hardware on that machine. Note
that this shouldn't have caused the drive corruption unless the segfault
took out a piece of the disk io kernel subsystem. Although I have to say
that using development versions of software on production machines is
not necessarily the most safe practice one can engage in.

Sincerely,

Will LaShell

> 
> Thanks for feedback. 
> 
> Zeno

Attachments:

  signature.asc (application/pgp-signature, 188B) download

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: corrupt data - caused by lm-sensors?
  2003-07-12 19:43 corrupt data - caused by lm-sensors? Zeno Davatz <zdavatz@ywesee.com>
  2003-07-14 21:27 ` Re: corrupt data - caused by lm-sensors? Will LaShell <will@lashell.net>
@ 2003-07-15 05:23   ` Zeno R.R. Davatz <zdavatz@ywesee.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Zeno R.R. Davatz @ 2003-07-15 05:23 UTC (permalink / raw)
  To: Will LaShell <will@lashell.net>; +Cc: pgsql-admin

On 14 Jul 2003 14:27:33 -0700
Will LaShell <will@lashell.net> wrote:

> On Sat, 2003-07-12 at 12:43, Zeno Davatz wrote:
> > 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? 
> 
> You did this on a production system? At any rate, depending on what /
> how it segfaulted it has a good chance of confirming what the others
> have suggested in that you have some bad hardware on that machine. Note
> that this shouldn't have caused the drive corruption unless the segfault
> took out a piece of the disk io kernel subsystem. Although I have to say
> that using development versions of software on production machines is
> not necessarily the most safe practice one can engage in.

Thanks for the info. Do you know of any tool to check my hardware especially the hdd's?

Thanks for feedback.

Zeno



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-07-15 05:23 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-12 19:43 corrupt data - caused by lm-sensors? Zeno Davatz <zdavatz@ywesee.com>
2003-07-14 21:27 ` Will LaShell <will@lashell.net>
2003-07-15 05:23   ` Zeno R.R. Davatz <zdavatz@ywesee.com>

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