Re: ERROR: unexpected data beyond EOF

From: Andres Freund <andres(at)anarazel(dot)de>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ERROR: unexpected data beyond EOF
Date: 2015-07-06 15:01:44
Message-ID: 20150706150144.GJ8902@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2015-04-30 10:05:33 -0700, Joshua D. Drake wrote:
> postgres[21118]: [8-1] ERROR: unexpected data beyond EOF
> in block 9 of relation base/430666195/430666206
>
> FreeBSD 10
> ZFS
> iSCSI
> RAID 50 (don't start, I didn't spec it).
> fsync on, full_page_writes on
>
> The restart of PostgreSQL makes the error go away and things progress
> normally. We don't experience further errors etc...

A couple questions:
1) Do you know what 430666206 refers to? Something like SELECT
oid::regclass, relkind FROM pg_class WHERE pg_relation_filenode(430666206) in the
correct database should answer.

2) Any chance you have zero_damaged_pages enabled?

3) Does the issue still occur? Is there any chance of manual
investigation before restaring the database?

Andres

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-07-06 15:14:40 Re: WAL logging problem in 9.4.3?
Previous Message Joe Conway 2015-07-06 14:52:51 Re: dblink: add polymorphic functions.