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)
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!
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.
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 -hafter a disk resizes and the output is unchanged, this usually indicates a problem.
To resize the partition, use the
growpartcommand. In this command,
/dev/vdais the name of the disk, separated by a space, and followed by the number of the partition to resize, 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:
You can see the filesystem type in the second column of the output. The following example output shows the filesystem type is ext4.
For ext3/4 filesystems, use resize2fs to resize the filesystem.
For XFS, use xfs_growfs to resize the filesystem.
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/vdacommand, i.e.
growpart /dev/vda 2grows the second partition.