Re: Disaster recovery: pg_class

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Enrico <scotty(at)linuxtime(dot)it>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Disaster recovery: pg_class
Date: 2006-10-13 14:30:07
Message-ID: 29602.1160749807@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Enrico <scotty(at)linuxtime(dot)it> writes:
> After a system crash, I have this error:
> SELECT * from mytable;
> WARNING: could not write block 14 of 1663/1743558/1259
> DETAIL: Multiple failures --- write error may be permanent.
> ERROR: xlog flush request 4/D43E0A00 is not satisfied --- flushed only to 4/D42700F0
> CONTEXT: writing block 14 of relation 1663/1743558/1

I'm not convinced there's anything much there you need to fix. You
should look into why the filesystem seems to have lost part of your WAL
file --- that strongly suggests that the disk or kernel is lying about
write ordering, which will cause you problems eventually. But this
message per se will go away as soon as the WAL endpoint moves another
1.5Mb. Unless there's other corruption elsewhere you'll be fine.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Enrico 2006-10-13 14:59:15 Re: Disaster recovery: pg_class
Previous Message Tom Lane 2006-10-13 14:10:06 Re: [pg 8.0] Restore from incremental "data folder" backup after server crash