User Tools

Site Tools


Writing /app/www/public/data/meta/databaseandnetworkmanagement/aws_resize_ebs_volume.meta failed
databaseandnetworkmanagement:aws_resize_ebs_volume

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
databaseandnetworkmanagement:aws_resize_ebs_volume [2019/12/19 17:20] poneilldatabaseandnetworkmanagement:aws_resize_ebs_volume [2021/06/25 10:09] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== 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