Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 05CF8B5DC22 for ; Mon, 5 Sep 2011 23:36:14 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 70795-04 for ; Tue, 6 Sep 2011 02:36:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id E3664B5DC23 for ; Mon, 5 Sep 2011 23:36:06 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id p862Z3w25939; Mon, 5 Sep 2011 22:35:03 -0400 (EDT) From: Bruce Momjian Message-Id: <201109060235.p862Z3w25939@momjian.us> Subject: Re: [GENERAL] pg_upgrade problem In-Reply-To: <20110906021728.GK24583@sonic.net> To: daveg Date: Mon, 5 Sep 2011 22:35:03 -0400 (EDT) CC: hubert depesz lubaczewski , PostgreSQL-development X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/231 X-Sequence-Number: 194420 daveg wrote: > > > As far as I can tell pg_upgrade never copied any pg_clog files from the > > > old cluster to the new cluster. I wish I had detected that before running > > > the remove_old_cluster.sh script. > > > > Wow, no clogs? That would make the system very confused. You can pull > > the clogs out of the old backup and move them over if the files don't > > already exist. > > We don't have the old cluster after running delete_old_cluster.ch. We use > pg_dump for backup, so no clogs. We ended up restored 20 odd dbs totalling > 2.1TB from the previous days pg_dumps. > > If you review my original report I mentioned that there were only 2 clog > files in the new cluster both with ctime after the start of postgresql > after the upgrade. I did the upgrade for three hosts at the same time, the > others were fine. They have dozens of clogs dating back days before the > upgrade. The failing system had only 2 recent clog. That is certainly unusual. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +