amazon s3 expand code example
Example 1: aws extend volume ubuntu
lsblk
sudo growpart /dev/xvda 1
Example 2: aws resized volume but still not space on ec2
sudo resize2fs /dev/xvda1
lsblk
sudo growpart /dev/xvda 1
sudo resize2fs /dev/xvda1