How can I increase the size of my disk?

October 21, 2019 174 views
Block Storage DigitalOcean Accounts

Hi,

I use cpanel, and has currently 50GB of hard disk. Now, I would like to increase my disk size, to something like 75GB, without upgrading my plan, because I don’t need of more CPU or RAM. I tried to create an additional volume with 25GB, but I couldn’t see a way to increase the size of /dev/vda1.

[root@host mnt]# df -H
Filesystem Size Used Avail Use% Mounted on
devtmpfs 939M 0 939M 0% /dev
tmpfs 964M 0 964M 0% /dev/shm
tmpfs 964M 102M 863M 11% /run
tmpfs 964M 0 964M 0% /sys/fs/cgroup
/dev/vda1 54G 47G 7.0G 88% /
/dev/loop0 1.7G 2.7M 1.6G 1% /tmp
tmpfs 193M 0 193M 0% /run/user/0

Thank you in advance!

4 Answers

Hello, @agjjr

You can follow this tutorial in order to increase the disk size on your droplet. Please make sure to backup your files and database before you start, just to be on the safe side.

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

Let us know how it goes.

Hi @alexdo, thanks for your reply!

I don’t want to change my CPU and RAM, only disk space. Is it not possible?

At the moment there are two options for resizing a droplet:

CPU and RAM only
and
Disk, CPU, and RAM - this is a permanent change.

Your other option will be to use block storage volume and resize it’s size when this is needed.

Let me know if you have any questions.

Have another answer? Share your knowledge.