Steps required for increasing disk size in EC2 instance with minimal downtime

From: RAJAMOHAN <garajamohan(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Steps required for increasing disk size in EC2 instance with minimal downtime
Date: 2020-07-20 07:01:32
Message-ID: CAFzdnttyRtFwiDoWogZ-0-uNfJHQzwNKDARPG2nF0esk2bSY1w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thorsten Schöning 2020-07-20 09:28:13 Re: How to restore a dump containing CASTs into a database with a new user?
Previous Message Christophe Pettus 2020-07-20 05:19:30 Re: How to restore a dump containing CASTs into a database with a new user?