Re: VACUUM PANIC: corrupted item pointer

From: André Volpato <andre(dot)volpato(at)ecomtecnologia(dot)com(dot)br>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: VACUUM PANIC: corrupted item pointer
Date: 2008-10-17 16:42:35
Message-ID: 48F8C07B.4010901@ecomtecnologia.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

André Volpato escreveu:
> 10. Same error
> # psql matriz
> psql: FATAL: could not read block 0 of relation 1664/0/2676: read
> only 0 of 8192 bytes
>
> Right now this is the message I got every time I try to connect, even
> in single mode.
> We tried to fsck the raid partition, but with no luck.
>
> Hope there is something else I can do...
>

Digging a little bit more, I found that global/2676 has zero bytes, so
we restore global/ from backup.
Now the only databases we can log in the ones wich hasn´t been vacuumed
regulary, e.g. "postgres":

$ psql matriz
psql: FATAL: cache lookup failed for database 87421438
$ psql volpato
psql: FATAL: cache lookup failed for database 94680947
$ psql postgres
# \d
List of relations
Schema | Name | Type | Owner
--------+----------------+------+----------
public | pg_buffercache | view | postgres

Not sure if pg_buffercache should be there anyway ...

Ideas?

--

[]´s, ACV

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-10-17 16:54:52 Re: Drop database / database in use question
Previous Message Tom Lane 2008-10-17 16:37:39 Re: OR or IN ?