Table of Contents

AWS EBS Resizing Volumes

Resize AWS Volume

  1. In the AWS console select the relevant volumes
  2. Under actions select modify volume
  3. Choose New Size/Volume Type
  4. Wait for Volume to finish resizing in the AWS Console
  5. Use lsblk to check new volume size is there

Recognise New Volumes size in OS

  1. sudo parted
  2. print free
  3. You should see 'Fix GPT Table
  4. Enter ‘Fix’
  5. Enter ‘Fix’
  6. Grow Partition
  7. sudo growpart /dev/xvda 2
  8. Grow file system
  9. sudo xfs_growfs /dev/xvda2
  10. Verify using df -h
References