Re: ERROR: unexpected data beyond EOF - Mailing list pgsql-hackers

From Andres Freund
Subject Re: ERROR: unexpected data beyond EOF
Date
Msg-id 20150706150144.GJ8902@alap3.anarazel.de
Whole thread Raw
In response to ERROR: unexpected data beyond EOF  ("Joshua D. Drake" <jd@commandprompt.com>)
List 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



pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: dblink: add polymorphic functions.
Next
From: Tom Lane
Date:
Subject: Re: WAL logging problem in 9.4.3?