pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: pgsql 8.3.3 "Invalid page header" leads to "FATAL: segment too big"
Date: Thu, 22 Apr 2010 17:25:20 +0200
Message-ID: <201004221825.20609.achill@matrix.gatewaynet.com> (raw)
In-Reply-To: <671.1271947353@sss.pgh.pa.us>
References: <201004221516.08729.achill@matrix.gatewaynet.com>
	<671.1271947353@sss.pgh.pa.us>

Στις Thursday 22 April 2010 17:42:33 γράψατε:
> Achilleas Mantzios <achill@matrix.gatewaynet.com> writes:
> > Then i did: (as i said i do not need the contents of msgsource - yet the contents of msgno are vital)
> > dd if=/dev/zero of=/usr/local/var/lib/pgsql/data/base/125714957/125716013 seek=672720 bs=8192 count=1 
> 
> > However, after that, unfortunately i get constant postgresql server restarts with:
> > FATAL:  segment too big
> 
> You got the dd command wrong and made the file size change to something
> it shouldn't be.  I think you can use dd to truncate the file back to
> what it should be (ie, exactly 1GB) but haven't had enough caffeine to
> remember exactly how.
> 
> I think the underlying error is that block 672720 isn't going to be in
> the first segment of the table --- you need to be zeroing something in
> one of the other segments...

Great, thanx a lot,
any idea about the naming of the files of those other segments?

> 
> 			regards, tom lane
> 



-- 
Achilleas Mantzios



view thread (7+ messages)  latest in thread

Message-ID: <201004221825.20609.achill@matrix.gatewaynet.com>
Permalink:  ../201004221825.20609.achill@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/201004221825.20609.achill@matrix.gatewaynet.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: achill@matrix.gatewaynet.com
  Subject: Re: pgsql 8.3.3 "Invalid page header" leads to "FATAL: segment too big"
  In-Reply-To: <201004221825.20609.achill@matrix.gatewaynet.com>

* 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