Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 80D77131C700 for ; Mon, 14 Nov 2011 05:55:01 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 20048-03 for ; Mon, 14 Nov 2011 09:54:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id 30F7C131C6FE for ; Mon, 14 Nov 2011 05:54:54 -0400 (AST) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RPtFc-0001yT-Uv for pgsql-admin@postgresql.org; Mon, 14 Nov 2011 01:54:52 -0800 Date: Mon, 14 Nov 2011 01:54:52 -0800 (PST) From: Manoj K P To: pgsql-admin@postgresql.org Message-ID: <1321264492950-4990279.post@n5.nabble.com> Subject: Database corruption MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.778 tagged_above=-10 required=5 tests=BAYES_00=-1.9, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201111/66 X-Sequence-Number: 38660 Due to Hard disk space issue on the WAL partition, database was down , When I am going to start postgres again ,got following error message This DB is grater than 1 TB restore will take long time , any other way other than pg_resetxlog ? Nov 14 04:32:41 dbname postgres[4384]: [2-1] 2011-11-14 04:32:41.423 EST 4384 LOG: invalid record length at 500C/5EFFF2B8 Nov 14 04:32:41 dbname postgres[4384]: [3-1] 2011-11-14 04:32:41.423 EST 4384 LOG: invalid primary checkpoint record Nov 14 04:32:41 dbname postgres[4384]: [4-1] 2011-11-14 04:32:41.423 EST 4384 LOG: invalid resource manager ID in secondary checkpoint record Nov 14 04:32:41 dbname postgres[4384]: [5-1] 2011-11-14 04:32:41.423 EST 4384 PANIC: could not locate a valid checkpoint record Nov 14 04:32:41 dbname postgres[4383]: [1-1] 2011-11-14 04:32:41.424 EST 4383 LOG: startup process (PID 4384) was terminated by signal 6: Aborted Nov 14 04:32:41 dbname postgres[4383]: [2-1] 2011-11-14 04:32:41.424 EST 4383 LOG: aborting startup due to startup process failure pg_controldata : Result is pg_control version number: 843 Catalog version number: 200904091 Database system identifier: 5404099570172901375 Database cluster state: in production pg_control last modified: Mon 14 Nov 2011 01:02:51 AM EST Latest checkpoint location: 500C/5EFFF2B8 Prior checkpoint location: 500C/5EFFF270 Latest checkpoint's REDO location: 500C/5EFFF2B8 Latest checkpoint's TimeLineID: 10000 Latest checkpoint's NextXID: 1/2784291602 Latest checkpoint's NextOID: 63034795 Latest checkpoint's NextMultiXactId: 1658683101 Latest checkpoint's NextMultiOffset: 3632122117 Time of latest checkpoint: Mon 14 Nov 2011 01:02:51 AM EST Minimum recovery ending location: 0/0 Maximum data alignment: 8 Database block size: 8192 Blocks per segment of large relation: 131072 WAL block size: 8192 Bytes per WAL segment: 16777216 Maximum length of identifiers: 64 Maximum columns in an index: 32 Maximum size of a TOAST chunk: 1996 Date/time type storage: 64-bit integers Float4 argument passing: by value Float8 argument passing: by value -- View this message in context: http://postgresql.1045698.n5.nabble.com/Database-corruption-tp4990279p4990279.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com.