pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mayank Mittal <mayank.mittal.1982@hotmail.com>
To: Andres Freund <andres@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #7562: could not read block 0 in file "base/16385/16585": read only 0 of 8192 bytes
Date: Fri, 21 Sep 2012 17:18:42 +0530
Message-ID: <COL002-W741D308FF6303B9489EA9CD5990@phx.gbl> (raw)
In-Reply-To: <201209211343.00408.andres@2ndquadrant.com>
References: <E1TEjPD-0002Yq-7L@wrigleys.postgresql.org>
	<873D76786B6DA97F0EBD16ED@apophis.credativ.lan>
	<COL002-W26162B3F04076A13B715CED5990@phx.gbl>
	<201209211343.00408.andres@2ndquadrant.com>

No, this is the first time, I've seen this issue.In past as well reindex the tables and it works well.
BTW now I'm resetting the database to start from fresh.

Regards,
Mayank MittalBarco Electronics System Ltd.Mob. +91 9873437922

> From: andres@2ndquadrant.com
> To: mayank.mittal.1982@hotmail.com
> Subject: Re: [BUGS] BUG #7562: could not read block 0 in file "base/16385/16585": read only 0 of 8192 bytes
> Date: Fri, 21 Sep 2012 13:43:00 +0200
> CC: tgl@sss.pgh.pa.us; pgsql-bugs@postgresql.org
> 
> On Friday, September 21, 2012 01:37:38 PM Mayank Mittal wrote:
> > As discussed with Andres on IRC, I tried to reproduce the issue with some
> > debug log enabled.In order to reproduce I fixed my already broken system
> > (index corrupted) by running REINDEX database <database_name>.Once done I
> > performed the failover and now I'm getting following
> > error:[org.postgresql.util.PSQLException: ERROR: missing chunk number 0
> > for toast value 33972 in pg_toast_16582]
> Unfortunately I don't think its really a valid approach to start from an 
> already corrupted database when doing this :( There might already be lingering 
> corruption causing the problem.
> 
> Have you seen the missing chunk error before? Did you reproduce the issue from 
> a corrupted database as well before?
> 
> Greetings,
> 
> Andres
> 
> > Regards,
> > Mayank MittalBarco Electronics System Ltd.Mob. +91 9873437922
> > 
> > > Date: Fri, 21 Sep 2012 11:34:49 +0200
> > > From: mailings@oopsware.de
> > > To: andres@2ndquadrant.com
> > > CC: tgl@sss.pgh.pa.us; pgsql-bugs@postgresql.org;
> > > mayank.mittal.1982@hotmail.com Subject: Re: [BUGS] BUG #7562: could not
> > > read block 0 in file "base/16385/16585": read only 0 of 8192 bytes
> > > 
> > > 
> > > 
> > > --On 21. September 2012 10:25:50 +0200 Andres Freund
> > > 
> > > <andres@2ndquadrant.com> wrote:
> > > >> We had a similar issue at a customer site. The server was shut down
> > > >> for updating it from 9.1.4 to 9.1.5, after starting it again the log
> > > >> was immediately cluttered with
> > > > 
> > > > How was it shutdown? -m fast or -m immediate?
> > > 
> > > -m fast
> > > 
> > > >> ERROR:  could not read block 251 in file "base/6447890/7843708": read
> > > >> only 0 of 8192 bytes
> > > > 
> > > > So, not block 0. How many blocks does the new index contain?
> > > 
> > > 255 blocks according to its current size.
> 
> -- 
>  Andres Freund	                   http://www.2ndQuadrant.com/
>  PostgreSQL Development, 24x7 Support, Training & Services
> 
> 
> -- 
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
 		 	   		  =

view thread (15+ messages)

Message-ID: <COL002-W741D308FF6303B9489EA9CD5990@phx.gbl>
Permalink:  ../COL002-W741D308FF6303B9489EA9CD5990@phx.gbl/
Also on:    postgresql.org/message-id/COL002-W741D308FF6303B9489EA9CD5990@phx.gbl

 · 

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-bugs@postgresql.org
  Cc: mayank.mittal.1982@hotmail.com, andres@2ndquadrant.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #7562: could not read block 0 in file "base/16385/16585": read only 0 of 8192 bytes
  In-Reply-To: <COL002-W741D308FF6303B9489EA9CD5990@phx.gbl>
  References: <E1TEjPD-0002Yq-7L@wrigleys.postgresql.org> <873D76786B6DA97F0EBD16ED@apophis.credativ.lan> <COL002-W26162B3F04076A13B715CED5990@phx.gbl> <201209211343.00408.andres@2ndquadrant.com> <COL002-W741D308FF6303B9489EA9CD5990@phx.gbl>

* 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