Re: vacuum error - Mailing list pgsql-admin

From Tom Lane
Subject Re: vacuum error
Date
Msg-id 25354.992630336@sss.pgh.pa.us
Whole thread Raw
In response to vacuum error  (brian <brian@misanthropia.com>)
List pgsql-admin
brian <brian@misanthropia.com> writes:
> I have a small database with a few tables and a view. When I issue the
> vacuum command, I get:

> ERROR:  cannot read block 5 of pg_description_objoid_index: Input/output
> error

Ugh, sounds like a disk hardware problem :-(.  Better think about new
drives, or at least reformatting the one you have.

As a short-term workaround to be able to dump your DB, I'd suggest just
    DROP INDEX pg_description_objoid_index;
(you'll have to set the magic switch that allows modification of system
tables first).

You could try reindexing pg_description, but since this is a highly
noncritical index, it's probably easier just to get rid of it.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Rebi Varghese"
Date:
Subject: vacuum error
Next
From: Lamar Owen
Date:
Subject: Re: SRPMS