Resizing Droplet problems, no actual size increase

So, I resize my droplet from 80GB to 160GB because I ran out of space. However the system is still saying there is no space. I did a disk check (df / -h) from the command prompt and it still showing 80GB. When verifying disk size (gdisk -l /dev/vda) it shows 160GB.
Image Ubuntu plesk Size 4 vCPUs 8GB / 160GB Disk ($48/mo)

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
July 27, 2022

Hello, @andrejellyfish

You can check our article on How to resize droplets

In certain cases, a disk resize fails to resize the Droplet’s partition or filesystem. If you rerun df -h after a disk resizes and the output is unchanged, this usually indicates a problem.

To resize the partition, use the growpart command. In this command, /dev/vda is the name of the disk, separated by a space, and followed by the number of the partition to resize, 1.

  1. growpart /dev/vda 1

The command to resize the filesystem depends on the filesystem type. If you don’t know what filesystem you’re using, check with df:

  1. df -Th /dev/vda1

You can see the filesystem type in the second column of the output. The following example output shows the filesystem type is ext4.

Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/vda1      ext4   50G  4.0G   45G  10% /

For ext3/4 filesystems, use resize2fs to resize the filesystem.

  1. resize2fs /dev/vda1

For XFS, use xfs_growfs to resize the filesystem.

  1. xfs_growfs /dev/vda1

If there is more than one partition on the disk, you may have to modify the above commands to more closely match the Droplet’s partition table. Partitions are numbered, so if you want to grow a specific partition, use its number in the growpart /dev/vda command, i.e. growpart /dev/vda 2 grows the second partition.


Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel