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 1jxVza-0002CU-Gm for pgsql-general@arkaria.postgresql.org; Mon, 20 Jul 2020 13:38:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jxVzZ-0003Sr-Ee for pgsql-general@arkaria.postgresql.org; Mon, 20 Jul 2020 13:38:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jxVzX-0003Sd-V2 for pgsql-general@lists.postgresql.org; Mon, 20 Jul 2020 13:38:05 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jxVzU-0000c9-VK for pgsql-general@lists.postgresql.org; Mon, 20 Jul 2020 13:38:02 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id D4955B21; Mon, 20 Jul 2020 09:37:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 20 Jul 2020 09:37:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=F 0/Qtlo/EQiMTeUkpPjHwf97tuLIIK8h1ONoKnN2ctE=; b=vMRtdWp2wfcMEgLsC MpLsmsSW6FvLQreqVG2uNeJovf+GAh3C6hbsyxbiWDj71XuK90crchiC7IzXh05/ NTBpL7J6gNf80geJGDTAY1irQX/1gNSGCcX/vmVx27Wzmc1yOdVDdNFcPXpVVEGx Qi10i0QR0Pg+VAArOU/Zl/mnJVpiVYP3yxopjAJPWX7K7wXAKYGmg/Rz1mbAQJ/u eNJ+0+ONM9MzykOdXu2HUCl/Mtdc2SDCWBraK2yZ2klbSroMcs3Mb8RAQIMIkWOt wEVXl74/8yZwsXkMhHzm6Y7XhtEU8UpwBiJiQbwf33YbyswK4LP5JzvG9Uirnok8 pX5QA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=F0/Qtlo/EQiMTeUkpPjHwf97tuLIIK8h1ONoKnN2c tE=; b=YI07M27YwzNkmPsB+Z+n1b4sDrCyvv2Wq6FBvlR9DBl6qxSFQoEsaR2lh fUolsYVf7fe7f+n9UtY3zu/9wHy6ltRacYPAuB6GOMbgbdnnGR2uxgeeWvO/J8cB wtAxZH+CqAHtxLavxHW4oRfDWHe8hHnQL22/YXkR+W1lqF4JBo4bPlUkm8CPB85/ A8bahsKTc97xk00hZhTuFNaX+OfplpnUK/J8qLC19ZrcyU3seBmlXQx2utahoJjI /xvPOOwLzy4k7HTAp9acRq7UFj3RC6DmyKk82aXaFcm49x2PnwPNjp6UkW4snixW lBTXJkEY+1d1nTW2wlds3RWG6mlPw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrgeeggdegvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeetvdekjeelvd ejudefveefudehgfekgfelkeeuleetfffghefhheduhfdvjeduveenucffohhmrghinhep phhrrggtuhgttghirdgtohhmnecukfhppeejhedrudejvddrhedrvdefudenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id CC9ED328005E; Mon, 20 Jul 2020 09:37:57 -0400 (EDT) Subject: Re: Steps required for increasing disk size in EC2 instance with minimal downtime To: RAJAMOHAN , pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: Date: Mon, 20 Jul 2020 06:37:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/20/20 12:01 AM, RAJAMOHAN wrote: > Hello all, > > We have configured RAID 0 setup, with 8 EBS volumes of size 700G. We > combined those volumes under a single mount point for the data > directory. Archives are configured to be stored on different EC2 > instances.Currently disk utilisation of data directory crossed 90%. We > need to increase the disk with less downtime. > > Can anyone please share with me the steps to increase the disk size in > EC2 instances with minimal downtime. Search term: aws ebs raid increase size https://pracucci.com/growing-aws-ebs-raid-0-array-increasing-volumes-size.html > > xvdf    202:80   0  700G  0 disk > └─md127   9:127  0  5.5T  0 raid0 /opt/postgres > xvdg    202:96   0  700G  0 disk > └─md127   9:127  0  5.5T  0 raid0 /opt/postgres > xvdh    202:112  0  700G  0 disk > └─md127   9:127  0  5.5T  0 raid0 /opt/postgres > xvdi    202:128  0  700G  0 disk > └─md127   9:127  0  5.5T  0 raid0 /opt/postgres > xvdj    202:144  0  700G  0 disk > └─md127   9:127  0  5.5T  0 raid0 /opt/postgres > xvdk    202:160  0  700G  0 disk > └─md127   9:127  0  5.5T  0 raid0 /opt/postgres > xvdl    202:176  0  700G  0 disk > └─md127   9:127  0  5.5T  0 raid0 /opt/postgres > xvdm    202:192  0  700G  0 disk > └─md127   9:127  0  5.5T  0 raid0 /opt/postgres > > > /dev/md127      5.5T  5.2T  306G  95% /opt/postgres > > > Thanks & Regards, > Rajamohan.J > -- Adrian Klaver adrian.klaver@aklaver.com