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 :

  1. Check current filesystem size of /dev/vda1: lsblk
  2. 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
  3. Grow the filesystem on the partition: resize2fs /dev/vda1
  4. Re-check the filesystem size to ensure it is filling the disk: df -h

Thats it.

Bipul
Bipul

Jobair Alam Bipul and I’m a 31-year-old tech enthusiast from Bangladesh. have been working in the E-commerce, Domain and Web Hosting industry for more than 10 years

Articles: 67

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.