Table of Contents
AWS EBS Resizing Volumes
Resize AWS Volume
Recognise New Volumes size in OS
AWS EBS Resizing Volumes
Resize AWS Volume
In the AWS console select the relevant volumes
Under actions select modify volume
Choose New Size/Volume Type
Wait for Volume to finish resizing in the AWS Console
Use lsblk to check new volume size is there
Recognise New Volumes size in OS
sudo parted
print free
You should see 'Fix GPT Table
Enter ‘Fix’
Enter ‘Fix’
Grow Partition
sudo growpart /dev/xvda 2
Grow file system
sudo xfs_growfs /dev/xvda2
Verify using df -h
References
https://docs.google.com/document/d/10MpophoGixqRIp68tcmwsgiyy404LI2wc6awZlE7Kn8/edit?usp=sharing
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html