Expand the site of an AWS xfs filesystem

Once a volum has been enlarged then, we need

  1. to extent the filesystem: growpart /dev/xvda 1
  2. resize file system to grow all the way to fully use new partition space:
    sudo resize2fs /dev/xvda1

If we want to see space available of a volum and the used by the partition, we can run the command lsblk

Leave a Reply