pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
FATAL 2: invalid checksum in control file 2+ messages / 2 participants [nested] [flat]
* FATAL 2: invalid checksum in control file @ 2007-02-06 10:58 David Martin <martin-family@blueyonder.co.uk> 2007-02-07 02:18 ` Re: FATAL 2: invalid checksum in control file Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 1 reply; 2+ messages in thread From: David Martin @ 2007-02-06 10:58 UTC (permalink / raw) To: pgsql-admin I am trying to restore a database from a machine which has died. The machine was taken down normally but refused to restart so the data has been copied elsewhere. The database is in version 7.2 so I installed 7.2.8, but upon pointing the postmaster at the relevant data directory I get the error in the subject line. The databse was originally on a ReiserFS partition and is now on GPFS, if that makes any difference. Any cunning tips on how I can get the database back? I have exhausted my limited technical knowledge. (Yes I know a backup would ahve been a good idea, however, lets move on from where we are , not where we might have liked to have been). ..d ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: FATAL 2: invalid checksum in control file 2007-02-06 10:58 FATAL 2: invalid checksum in control file David Martin <martin-family@blueyonder.co.uk> @ 2007-02-07 02:18 ` Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2007-02-07 02:18 UTC (permalink / raw) To: David Martin <martin-family@blueyonder.co.uk>; +Cc: pgsql-admin "David Martin" <martin-family@blueyonder.co.uk> writes: > I am trying to restore a database from a machine which has died. The > machine was taken down normally but refused to restart so the data has > been copied elsewhere. > The database is in version 7.2 so I installed 7.2.8, but upon pointing > the postmaster at the relevant data directory I get the error in the > subject line. Lessee ... 7.2 had pg_controldata and pg_resetxlog, so you have some hope. Try the former and see if it can extract anything. Then try the latter. Definitely RTFM on pg_resetxlog before using it. Also: is the "elsewhere" the same machine architecture as the original server? Do not even think about trying to recover x86 files on x86_64, for example. regards, tom lane ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-02-07 02:18 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2007-02-06 10:58 FATAL 2: invalid checksum in control file David Martin <martin-family@blueyonder.co.uk> 2007-02-07 02:18 ` Re: FATAL 2: invalid checksum in control file Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox