AWS Linux

Resize a disk to the full partition on Linux

Recently I resized a disk in AWS from 10GB to 30GB – but when I restarted the instance, the disk was still only 10GB.

This command will resize the partition to use up the spare space on the disk

sudo resize2fs /dev/sda1

Leave a Reply