I\'ve followed aws doc for expanding elastic root volume
and got my root volume size increased from 8 GB to 20 GB, which i confirmed using lsblk
.
NAM
/dev/xvda1
is an 8 GiB partition on a 20 GiB device and there are no other partitions on the volume. In this case, the partition must be resized in order to use the remaining space on the volume.
After you resize the partition, you can extend the file system (via sudo resize2fs /dev/xvda1
) to occupy all of the space on the partition.