sudo su
# list the file system data for a device
file -s /dev/xvd*
# report the existing disk space usage
df -h
# list the block devices attached to your instance
lsblk
# expand the modified partition using growpart
growpart /dev/xvda 1
# lsblk output confirms that the partition /dev/xvda1 now fills the available space on the volume /dev/xvda
lsblk
# resize each file system to the new volume capacity
sudo resize2fs /dev/xvda1
# report the new disk space usage
df -h