From: Adrian Klaver <adrian.klaver@aklaver.com>
To: RAJAMOHAN <garajamohan@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Steps required for increasing disk size in EC2 instance with minimal downtime
Date: Mon, 20 Jul 2020 06:37:56 -0700
Message-ID: <e1b1c34e-65e3-c058-7abc-358b3f7ea926@aklaver.com> (raw)
In-Reply-To: <CAFzdnttyRtFwiDoWogZ-0-uNfJHQzwNKDARPG2nF0esk2bSY1w@mail.gmail.com>
References: <CAFzdnttyRtFwiDoWogZ-0-uNfJHQzwNKDARPG2nF0esk2bSY1w@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, garajamohan@gmail.com
Subject: Re: Steps required for increasing disk size in EC2 instance with minimal downtime
In-Reply-To: <e1b1c34e-65e3-c058-7abc-358b3f7ea926@aklaver.com>
References: <CAFzdnttyRtFwiDoWogZ-0-uNfJHQzwNKDARPG2nF0esk2bSY1w@mail.gmail.com> <e1b1c34e-65e3-c058-7abc-358b3f7ea926@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox