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

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: RAJAMOHAN <garajamohan(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Steps required for increasing disk size in EC2 instance with minimal downtime
Date: 2020-07-20 13:37:56
Message-ID: e1b1c34e-65e3-c058-7abc-358b3f7ea926@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2020-07-20 13:38:10 Re: PGBench on Windows - connections are subprocesses?
Previous Message Durumdara 2020-07-20 13:20:54 PGBench on Windows - connections are subprocesses?