How to increase disk storage in same droplet?

Posted June 11, 2020 709 views
Block StorageStorageUbuntu 18.04

I’ve increased my disk storage. But my storage shows in a different folder in filesystem.
Previously my disk storage was 49 GB. Now increased another 30 GB. Previous 49 GB shows in /dev/vda1 location and new 30GB shows in /dev/sda location. How do I merge this 49GB + 30GB in the same location /dev/vda1

Filesystem      Size  Used Avail Use% Mounted on
udev            984M     0  984M   0% /dev
tmpfs           200M   21M  179M  11% /run
/dev/vda1        49G   49G     0 100% /
tmpfs           997M     0  997M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           997M     0  997M   0% /sys/fs/cgroup
/dev/vda15      105M  3.6M  101M   4% /boot/efi
/dev/sda         30G  6.1G   23G  22% /mnt/volume_sgp1_01
tmpfs           200M     0  200M   0% /run/user/0

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.

1 answer

Hi there @amanullah,

It looks like you have added block storage rather than increasing the disk space of your Droplet.

You could do a couple of things in this case:

  • You could either move some of your files from the /dev/vda1 disk to the /dev/vda15 disk

  • Or instead, you could resize your Droplet directly without using a block storage

You can follow the steps on how to do that here:

  • Another approach here would be to keep the block storage but mount it to a different directory where you store most of your larget files. For example if you are using WordPress, you could mount the block storage to your wp-content/uploads directory so that all of your files would be uploaded to the block storage rather than the disk space of the Droplet itself.

Hope that this helps!

Submit an Answer