Re: I/O error during autovacuum - Mailing list pgsql-general

From Tom Lane
Subject Re: I/O error during autovacuum
Date
Msg-id 22757.1271976453@sss.pgh.pa.us
Whole thread Raw
In response to I/O error during autovacuum  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Responses Re: I/O error during autovacuum  (Devrim GÜNDÜZ <devrim@gunduz.org>)
List pgsql-general
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= <devrim@gunduz.org> writes:
> I recently started seeing the following in the logs:

> ERROR:  could not read block 46 of relation
> pg_tblspc/16385/8578554/11521501: Input/output error
> CONTEXT:  automatic vacuum of table "foo.pg_toast.pg_toast_8578780"

> Is this *definitely* a disk error, or could it be related to PostgreSQL
> itself?

"Input/output error" is pretty much always indicative of a hardware
problem.  If it's always associated with attempts to access a specific
disk block then it's definitely a bad-sector error.  There might be more
details in the kernel log.

            regards, tom lane

pgsql-general by date:

Previous
From: Szymon Guz
Date:
Subject: Re: Foreign Key
Next
From: Tom Lane
Date:
Subject: Re: Error installing postgresql version higher than 8.1 on centos 5.4 linux 2.6.18-164.el5