Question

How to increase disk storage in same droplet?

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


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.

Bobby Iliev
Site Moderator
Site Moderator badge
June 11, 2020
Accepted 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:

https://www.digitalocean.com/docs/droplets/how-to/resize/

  • 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! Regards, Bobby

Try DigitalOcean for free

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

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

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

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

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