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

* corrupt data
@ 2003-07-11 05:58  Zeno R.R. Davatz <zdavatz@ywesee.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Zeno R.R. Davatz @ 2003-07-11 05:58 UTC (permalink / raw)
  To: pgsql-admin

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).

Thanks for any hints and feedback.

Zeno



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

* Re: corrupt data
@ 2003-07-11 21:16  scott.marlowe <scott.marlowe@ihs.com>
  parent: Zeno R.R. Davatz <zdavatz@ywesee.com>
  1 sibling, 0 replies; 3+ messages in thread

From: scott.marlowe @ 2003-07-11 21:16 UTC (permalink / raw)
  To: Zeno R.R. Davatz <zdavatz@ywesee.com>; +Cc: pgsql-admin

On Fri, 11 Jul 2003, 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).
> 
> Thanks for any hints and feedback.

Sounds like a bad block on the hard drive maybe?

Maybe bad ram.

You should probably test the drive and memory for errors.

Can you backup parts of the database?  I.e. recover most in place and then 
restore the parts you can't from backups...




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

* Re: corrupt data
@ 2003-07-11 23:50  Robert Treat <xzilla@users.sourceforge.net>
  parent: Zeno R.R. Davatz <zdavatz@ywesee.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Robert Treat @ 2003-07-11 23:50 UTC (permalink / raw)
  To: Zeno R.R. Davatz <zdavatz@ywesee.com>; +Cc: pgsql-admin

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.

Robert Treat
-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL




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


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

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-11 05:58 corrupt data Zeno R.R. Davatz <zdavatz@ywesee.com>
2003-07-11 21:16 ` scott.marlowe <scott.marlowe@ihs.com>
2003-07-11 23:50 ` Robert Treat <xzilla@users.sourceforge.net>

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