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 1lP3I3-0002i8-9B for pgsql-admin@arkaria.postgresql.org; Wed, 24 Mar 2021 13:11:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lP3I1-0005iD-UO for pgsql-admin@arkaria.postgresql.org; Wed, 24 Mar 2021 13:11:13 +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 1lP3I1-0005i6-3i for pgsql-admin@lists.postgresql.org; Wed, 24 Mar 2021 13:11:13 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lP3Hy-0000bD-J3 for pgsql-admin@lists.postgresql.org; Wed, 24 Mar 2021 13:11:12 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id B6D4C896; Wed, 24 Mar 2021 09:11:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 24 Mar 2021 09:11:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=O4Swaq7JAjAWDWm6YPtlzb6HOMKvfMS/2DC0ak9g/rY=; b=ldoFDRYc VM4ZYmU8KtHn0jWnMnKKG/QJnH+guHxWqOfKhy9XXw61IIFd90JcdrVvk1lIPJbo wZM7P4R7iP0X7hzDOTGSkcWLm/0EWgajb5sUElFrcnZw8QfuQ/mesaMeJFRpBvdk SKs/URIXQ3nIGxH4Q+YcZdIRBJI+h34vL0ypH0t0SDx9HscqI88ULqZ3vUE7U1Ee G/YvIWhkDg9C+rxPqUPxpniR5Y4kyDUmF5Xd2vbqjELqQCg0ziKLkUxpBxk+HLsy D7Me+QHNCe2qpEn1NbH92W1X7ZZhGyxty5FNWY4W2dPpvxYRtw6puP+PA8qTxqmU FA8MRpR0UgW/YA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudegkedggeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugfgjggfsehtke ertddtredunecuhfhrohhmpeetlhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhr vgesrghlvhhhrdhnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpeeufffhjeeiue euffegvddukeegledtveeivdeiueefieeivefgteehueefteehvdenucfkphepudeltddr leehrdduledrleehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.95]) by mail.messagingengine.com (Postfix) with ESMTPA id 96DA11080069; Wed, 24 Mar 2021 09:11:06 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 63B7B2A0FB1; Wed, 24 Mar 2021 10:11:04 -0300 (-03) Date: Wed, 24 Mar 2021 10:11:04 -0300 From: Alvaro Herrera To: Erik Serrano Cc: Pgsql-admin Subject: Re: Upgrade from 9.2 to 9.6 without space Message-ID: <20210324131104.GA7965@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 Hello Erik On 2021-Mar-24, Erik Serrano wrote: > 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. pg_upgrade can do that if you use link mode (pg_upgrade -k). It is strongly recommended to make a snapshot of the data directory before the upgrade, so that you can roll back to the original if things go wrong. Going up only to 9.6 means that you will be pressed to move to a more recent version soon, since 9.6 goes out of support at the end of the year. Why not go straight to, say, 12? I suggest to add more storage space. The pgsql-es-ayuda@lists.postgresql.org can help you if you would like to discuss in Spanish. -- Álvaro Herrera 39°49'30"S 73°17'W