Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lP3GQ-0002ei-PC for pgsql-admin@arkaria.postgresql.org; Wed, 24 Mar 2021 13:09:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lP3GP-0002nl-Jo for pgsql-admin@arkaria.postgresql.org; Wed, 24 Mar 2021 13:09:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lP3GP-0002ne-CP for pgsql-admin@lists.postgresql.org; Wed, 24 Mar 2021 13:09:33 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lP3GM-0000aZ-VZ for pgsql-admin@lists.postgresql.org; Wed, 24 Mar 2021 13:09:32 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1lP3GL-0008HF-8t; Wed, 24 Mar 2021 09:09:29 -0400 Date: Wed, 24 Mar 2021 09:09:29 -0400 From: Bruce Momjian To: Erik Serrano Cc: Pgsql-admin Subject: Re: Upgrade from 9.2 to 9.6 without space Message-ID: <20210324130929.GA17301@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Mar 24, 2021 at 10:09:57AM -0300, Erik Serrano wrote: > Hello good day. > > I am writing why I need guidance regarding a version upgrade in Postgresql. I > have a server with 85% of the disk occupied only in the / var / lib / pgsql / > data folder and when doing an upgrade it drops because it does not have space > to create the new / var / lib / pgsql folder /9.6/data in your process. > So I need to know if there is any procedure to upgrade without making a copy > since I do not have space for another folder of the same size. > > PS: I am upgrading from 9.2 to 9.6 The only option is pg_upgrade in link mode. Also, you might want to upgrade to a newer version of Postgres than 9.6. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.