ERROR: unexpected data beyond EOF in block XXXXX of relation "file" - Mailing list pgsql-bugs

From austijc
Subject ERROR: unexpected data beyond EOF in block XXXXX of relation "file"
Date
Msg-id 19680438.post@talk.nabble.com
Whole thread Raw
Responses Re: ERROR: unexpected data beyond EOF in block XXXXX of relation "file"
List pgsql-bugs
Configuration:

Postgres 8.3.1
Solaris 10 Sparc System NFS mounting the database directory from a NetApp
2020 NAS device.

Mount options:

rw,bg,hard,rsize=32768,wsize=32768,vers=3,forcedirectio,nointr,proto=tcp,suid

Error:

ERROR:  unexpected data beyond EOF in block 315378 of relation "file"
HINT:  This has been seen to occur with buggy kernels; consider updating
your system.

Situation:

Occasionally under heavy insert load.

The error comes from line 225 of bufmgr.c.  The kernel bug mentioned in the
comments is an lseek bug in a Linux kernel so I don't believe that is the
case here.

The question is can anyone more familiar with this tell me what's going on
here?  I don't know if this is a Postgres, Sun, or NetApp issue.  Could it
be a work around for an old Linux bug causing an issue with acceptable
behavior of the NetApp device?

There has been some clock differences between the Solaris system and the
Netapp device.  Could postgres be confused by file modify times being in the
future by a few seconds?

--
View this message in context:
http://www.nabble.com/ERROR%3A--unexpected-data-beyond-EOF-in-block-XXXXX-of-relation-%22file%22-tp19680438p19680438.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #4436: (E'\\' LIKE E'\\') => f
Next
From: Tom Lane
Date:
Subject: Re: ERROR: unexpected data beyond EOF in block XXXXX of relation "file"