Re: "invalid page header in block 597621 of relation..."error - Mailing list pgsql-general

From Jim C. Nasby
Subject Re: "invalid page header in block 597621 of relation..."error
Date
Msg-id 20051128222740.GE78939@pervasive.com
Whole thread Raw
In response to Re: "invalid page header in block 597621 of relation..."error  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
List pgsql-general
On Thu, Nov 24, 2005 at 02:59:28PM -0500, Qingqing Zhou wrote:
>
> "Tom Lane" <tgl@sss.pgh.pa.us> wrote
> >
> > At this point I think there's no question that your filesystem is
> > dropping blocks :-(.
>
> It is very interesting to follow this thread. But at this point, can you
> explain more why "there is no question" is file system's fault?

Not to put words in Tom's mouth, but as he said there's very few ways
that PostgreSQL will leave a blank page laying around, and the tests he
had the OP perform show that this almost certainly isn't one of those
cases. That means something other than PostgreSQL is dropping data.
Since it's apparently multiples of 4k it's reasonable to suspect the
kernel or the filesystem; it's pretty unlikely it's the drives.
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

pgsql-general by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Group By?
Next
From: "Jim C. Nasby"
Date:
Subject: Re: dumping data to version control using pg_dump?