Re: I/O error on data file, can't run backup - Mailing list pgsql-general

From Steve Crawford
Subject Re: I/O error on data file, can't run backup
Date
Msg-id 4E8CD782.9040402@pinpointresearch.com
Whole thread Raw
In response to Re: I/O error on data file, can't run backup  (Leif Biberg Kristensen <leif@solumslekt.org>)
Responses Re: I/O error on data file, can't run backup
List pgsql-general
On 10/05/2011 02:48 PM, Leif Biberg Kristensen wrote:
>
> I had a hang on the machine a few hours earlier that required a power-off
> reboot. That has been a problem with this rig since I built it about a year
> ago, it's probably a funky connection somewhere. This may be the direct cause
> of the I/O error, which also may mean that the disk is not to blame.
>
> I'm so used to postgres and everything else coming up without a hiccup after a
> power-off that I don't usually pay much attention to it
PostgreSQL is great, but it can't overcome defective hardware.

I'm thinking perhaps a funky memory problem - you are having odd crashes
after all.

If memory is failing you could have a file that is corrupted not on disk
but in the cache. Perhaps in the process of stopping and starting
PostgreSQL, the data that was causing the trouble got flushed from cache
then reread from disk. You may find this story interesting:
http://blogs.oracle.com/ksplice/entry/attack_of_the_cosmic_rays1

Cheers,
Steve


pgsql-general by date:

Previous
From: Leif Biberg Kristensen
Date:
Subject: Re: I/O error on data file, can't run backup
Next
From: Phil Couling
Date:
Subject: Re: gaps/overlaps in a time table : current and previous row question