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 from backup?  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.

Reply via email to