Re: cannot read block errors !

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cannot read block errors !
Дата
Msg-id 4413.1252520549@sss.pgh.pa.us
обсуждение исходный текст
Ответ на cannot read block errors !  (Kevin Kempter <kevink@consistentstate.com>)
Ответы Re: cannot read block errors !  (Kevin Kempter <kevink@consistentstate.com>)
Список pgsql-admin
Kevin Kempter <kevink@consistentstate.com> writes:
> we're getting these errors on our system today:

> Sep  9 00:53:45 ux-rqs04-atl2 ri_load[5846]: Caught Exception!
> Shutting down: ERROR:  could not read block 703769 of relation
> 37698/17627/38565: Input/output error CONTEXT:  SQL statement "SELECT
> 1 FROM ONLY "our_schema"."big_table" x WHERE "id" OPERATOR(pg_catalog.=) $1
> FOR SHARE OF x"

> Sep  9 15:34:36 ux-rqs04-atl2 ri_load[23717]: Caught Exception! Shutting
> down: PANIC:  right sibling's left-link doesn't match: block 1377627
> links to 3120580 instead of expected 1736900 in index "no_dups" CONTEXT:  COPY
> big_table, line 1563: "157945230    x/1739441607/false/p_1378267744=0"
> \copy: unexpected response (7)

> Anyone have any ideas what's gone wrong and how to fix it?

"Input/output error" generally means you've got hardware problems.
Have you looked into the kernel logs to see if there are device driver
complaints?

The other one indicates index corruption, which I might think suggested
a Postgres bug if I hadn't seen the first one.  You can fix that index
with REINDEX, but you'd better deal with the underlying issue first
before it corrupts data that's not so easily fixed.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: Kevin Kempter
Дата:
Сообщение: cannot read block errors !
Следующее
От: Kevin Kempter
Дата:
Сообщение: Re: cannot read block errors !