sudo resize2fs /dev/vda1

Category: VPS Management

sudo resize2fs /dev/vda1

Expand an ext4 filesystem to fill the full partition after resizing the disk at the VPS provider

After you increase a disk's size in your VPS provider's dashboard, the filesystem doesn't automatically expand. Run 'sudo growpart /dev/vda 1' first to grow the partition, then this to expand the filesystem.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.