Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8tE4-0004os-EE for pgsql-bugs@arkaria.postgresql.org; Fri, 03 Jun 2016 17:49:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b8tE4-0002HL-19 for pgsql-bugs@arkaria.postgresql.org; Fri, 03 Jun 2016 17:49:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b8tDQ-0000mL-25 for pgsql-bugs@postgresql.org; Fri, 03 Jun 2016 17:49:00 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b8tDM-0005NV-Ay for pgsql-bugs@postgresql.org; Fri, 03 Jun 2016 17:48:59 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1b8tDJ-0002l6-RW; Fri, 03 Jun 2016 13:48:53 -0400 Date: Fri, 3 Jun 2016 13:48:53 -0400 From: Bruce Momjian To: Tom Lane Cc: Ganesh Kannan , "pgsql-bugs@postgresql.org" Subject: Re: After upgrade to 9.5 space not being released Message-ID: <20160603174853.GA6956@momjian.us> References: <1032.1464973557@sss.pgh.pa.us> <2185.1464975638@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2185.1464975638@sss.pgh.pa.us> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Fri, Jun 3, 2016 at 01:40:38PM -0400, Tom Lane wrote: > Ganesh Kannan writes: > > Sorry I meant to say I did not remove the old data directory given they are hard links, and not soft links. I thought I should not remove those hard links when using "pg_upgrade --link" option. > > As long as those old files still have hard links in the old data > directory, they are not going to go away. > > Note that if you're using tablespaces, you need to clear out the > appropriate tablespace subdirectories, not only the old data > directory proper. Uh, after the upgrade, the output say: Running this script will delete the old cluster's data files: ./delete_old_cluster.sh That script is designed to do this cleanup. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs