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