drive failre, corrupt data... - Mailing list pgsql-general

From Jeff Amiel
Subject drive failre, corrupt data...
Date
Msg-id 20070118151601.68232.qmail@web60821.mail.yahoo.com
Whole thread Raw
List pgsql-general
Had a drive failure on a raid 5 array of a backup box that a couple of postgres databases sit on.  One of the databases is a slony subscriber to a production database and the other is a test-environment database. 

The drive was offline...brought it back online, hoping it would start a rebuild...which it didn't. Almost immediately started getting errors from slony
could not access status of transaction 2463273456
could not open file "pg_clog/0937": No such file or directory
...
etc.

Looks like the subscriber database had some issues (at least with one specific table). In addition, trying to access to the other (test) database yielded an error accessing pg_namespace.

So....reseated the drive which started a rebuild. I stopped postgres. When the rebuild is done (or if it fails, I will replace the drive), I will restart postgres and see what happens.

Question...should I just re-initdb and restore databases frombackup? Should I have done something differently once I noticed the failure? I've had drive failures before on this box and either rebuilt the array or replaced the drive with no postgres issues (although the amount of traffic was much less than now)

Any help would be appreciated.


Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.

pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: datatype advice numeric vs. varchar
Next
From: Alvaro Herrera
Date:
Subject: Re: [1/2 OFF] Varlena.com inaccessible from .br (Blocked?)