drive failre, corrupt data...

Поиск
Список
Период
Сортировка
От Jeff Amiel
Тема drive failre, corrupt data...
Дата
Msg-id 20070118151601.68232.qmail@web60821.mail.yahoo.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: datatype advice numeric vs. varchar
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [1/2 OFF] Varlena.com inaccessible from .br (Blocked?)