pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: davi vidal <davividal@gmail.com>
Cc: pgsql-bugs@postgresql.org
Cc: Bruce Momjian <bruce@momjian.us>
Subject: Re: BUG #12617: DETAIL: Could not read from file "pg_subtrans/06F8" at offset 90112: Success.
Date: Thu, 22 Jan 2015 17:39:49 -0300
Message-ID: <20150122203949.GI1663@alvh.no-ip.org> (raw)
In-Reply-To: <CA+QfhoKbpVvGNJBbM778vQnfr1UHDCqdO8kmBfvSLxbRUrU7Rw@mail.gmail.com>
References: <20150121134050.5764.10196@wrigleys.postgresql.org>
	<20150121150712.GR1663@alvh.no-ip.org>
	<CA+QfhoJqTbt9LvB6w+=WML5fPUq9r+MN8ogKfA_LTwZBPVAkbA@mail.gmail.com>
	<20150122151823.GY1663@alvh.no-ip.org>
	<CA+QfhoLvvoywAXjWzgafzAjrjEjzCGPUQ2U-eQJzP6BQ0ZA4nA@mail.gmail.com>
	<20150122174845.GC1663@alvh.no-ip.org>
	<CA+QfhoKbpVvGNJBbM778vQnfr1UHDCqdO8kmBfvSLxbRUrU7Rw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

davi vidal wrote:
> On Thu, Jan 22, 2015 at 3:48 PM, Alvaro Herrera <alvherre@2ndquadrant.com>
> wrote:
> 
> > davi vidal wrote:
> > > On Thu, Jan 22, 2015 at 1:18 PM, Alvaro Herrera <
> > alvherre@2ndquadrant.com>
> > > wrote:
> >
> > > The 9.1 cluster is empty.
> > >
> > >
> > > # ls -a /var/lib/pgsql/9.4/data/pg_subtrans/
> > > .  ..  06F8
> >
> > How big is this file?
> >
> 40 KB
> 
> I can't open it using vim.

Yeah, it's a binary file, don't worry about that.

Anyway that's pretty odd.  I assume that your blocksize is 8 kB.  Then
this file is 5 pages long, but the system is asking for data that should
be in page 11.  For some reason 6 page extensions in pg_subtrans were
ignored?  That sounds really odd.

I'm also surprised that the subdir in 9.1 is empty.  The file certainly
should still be there.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, 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 (8+ messages)

Message-ID: <20150122203949.GI1663@alvh.no-ip.org>
Permalink:  ../20150122203949.GI1663@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20150122203949.GI1663@alvh.no-ip.org

 · 

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: alvherre@2ndquadrant.com, davividal@gmail.com, bruce@momjian.us
  Subject: Re: BUG #12617: DETAIL: Could not read from file "pg_subtrans/06F8" at offset 90112: Success.
  In-Reply-To: <20150122203949.GI1663@alvh.no-ip.org>
  References: <20150121134050.5764.10196@wrigleys.postgresql.org> <20150121150712.GR1663@alvh.no-ip.org> <CA+QfhoJqTbt9LvB6w+=WML5fPUq9r+MN8ogKfA_LTwZBPVAkbA@mail.gmail.com> <20150122151823.GY1663@alvh.no-ip.org> <CA+QfhoLvvoywAXjWzgafzAjrjEjzCGPUQ2U-eQJzP6BQ0ZA4nA@mail.gmail.com> <20150122174845.GC1663@alvh.no-ip.org> <CA+QfhoKbpVvGNJBbM778vQnfr1UHDCqdO8kmBfvSLxbRUrU7Rw@mail.gmail.com> <20150122203949.GI1663@alvh.no-ip.org>

* 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