Extending a Linux File System IN amazon EC2

1- expand the volume from amazon  ec2 Volumes dashboard

2- Expand the modified partition using growpart

sudo growpart /dev/xvdf 1

A look at the lsblk output confirms that the partition /dev/xvdf1 now fills the available space on the volume /dev/xvdf

3-  sudo resize2fs /dev/xvdf1

 

 

Advertisements