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

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

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