Disk size not increase after resize
In some cases, Disk size not increase after resize to higher plan. This may be due to 100% disk usage as some space is still required for temporary files or when the particular release of software installed on the Droplet doesn’t accomplish this.
We can fix it :
- Check current filesystem size of /dev/vda1: lsblk
- If you see the block device is larger than the partition, you will need to grow the primary partition of your Droplet: growpart /dev/vda 1
- Grow the filesystem on the partition: resize2fs /dev/vda1
- Re-check the filesystem size to ensure it is filling the disk: df -h
Thats it.