pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: John Scalia <jayknowsunix@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: pg_upgrade hangs
Date: Wed, 13 Aug 2014 22:48:21 -0400
Message-ID: <20140814024821.GB7858@momjian.us> (raw)
In-Reply-To: <53EBE4B6.5030904@gmail.com>
References: <53EBE4B6.5030904@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

On Wed, Aug 13, 2014 at 06:20:38PM -0400, John Scalia wrote:
> Hi all,
> 
> My QA folks are doing an upgrade test, migrating a database from 9.2.2 to 9.3.3. By default on CentOS, the databases live at:
> 
> /var/lib/pgsql/9.2/data & /var/lib/pgsql/9.3/data
> 
> But, they've decided to move these to /data/postgres-9.2/data and
> /data/postgres-9.3/data and use symlinks back to the original
> locations, so they don't have to modify the /etc/init.d scripts.
> Now, pg_upgrade is just hangs regardless of whether I use the actual
> physical locations or the symlinked ones. I haven't yet tried
> attaching "strace" to the process, but is there any reason to
> believe that the symlinks might be causing the problem? Or do I need
> to look at something else?

I have no idea.  I have never heard of that, but I suggest you figure
out why the hang is happening independent of pg_upgrade.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (5+ messages)  latest in thread

Message-ID: <20140814024821.GB7858@momjian.us>
Permalink:  ../20140814024821.GB7858@momjian.us/
Also on:    postgresql.org/message-id/20140814024821.GB7858@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, jayknowsunix@gmail.com
  Subject: Re: pg_upgrade hangs
  In-Reply-To: <20140814024821.GB7858@momjian.us>
  References: <53EBE4B6.5030904@gmail.com> <20140814024821.GB7858@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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