Question

how to add extra diskspace in drop let.

Posted June 23, 2015 18.1k views
CentOSDigitalOcean

I read that there is no option in Digital Ocean to add an extra disk space in current droplet.

So now i want to know how to upgrade drop let.
Current i am using centos 6 with cpanel.
will my all setting and files remains same as it is.
please tell me steps to upgrade it and all files in cpanel must not change.

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.

×
Submit an Answer
5 answers

I read that there is no option in Digital Ocean to add an extra disk space in current droplet.

Did you read this ??

https://www.digitalocean.com/community/tutorials/how-to-resize-your-droplets-on-digitalocean

There are two option in Resize (only when you power down your droplet for the upgrade),

  • Permanent (Will Increase Disk Size)
  • Flexible Resize (Wont touch Disk, allowing you to scale down on later date)

The only limitation is that you can’t add separate resource, like staying on base USD 5 plan with 512MB RAM but want to add extra 40 GB space..

If you upgrade, whole plan has to upgrade..

  • yeah i didnt read that.
    will my data remain same and how long it will take?

  • The first step of shutting the droplet from terminal wont take much, a minute of so, depending on your OS and its configuration..

    The resizing and new plan activation may take a while depending on your present disk size and used space of it..

    It may take 15 to 30 mins, but I have seen in some cases, it may take twice more than that..

    If you see the process taking longer than an hour, in that case, you should open a support ticket..

Click Resize in the DO panel.

…and not to forget change all the performance settings which are still optimized for the smaller droplet like swap size, no. of workers, php memory allocation etc. etc. etc.

@hunky

40GB+ data on server, i guess it will take alot time.
will may data remain same on cpanel,
i have installed cpanel

Hello, all

If you want to resize your droplet you can all follow our docs here:

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

There are two resizing options for Droplets:

  • CPU and RAM only. This option lets you increase or decrease the amount of CPU and RAM available to a Droplet.

  • Disk, CPU, and RAM. This option increases the amount of CPU and RAM available to a Droplet and permanently increases the size of a Droplet’s disk.

Considerations Before Resizing

  • You cannot decrease the size of a Droplet’s disk. In other words, disk resizes are irreversible.

Data is not always sequentially written in memory, so reducing the available space would risk data loss and filesystem corruption. For more flexibility, you can use block storage volumes for additional data storage, which lets you detach or delete the volume if you no longer need the space.

  • Allow for about one minute of downtime per GB of used disk space, though the actual time necessary is typically shorter. You can check the disk storage on the filesystem with df / -h.

Estimated downtime depends on disk usage even for resizes that don’t change the amount of disk space. This is because the Droplet may move to a new hypervisor, which transfers disk data over the network.

  • We strongly recommend taking a snapshot of the Droplet before resizing.

Droplets may change hypervisors during a resize, and any changes to a filesystem can lead to data loss if something goes wrong. We strongly recommend backing up the Droplet’s data before resizing. If you use snapshots, you can delete the snapshot after confirming that the resize was successful.

The cPanel core installation and the files/databases of the accounts will not be touched.

Hope that this helps!
Regards,
Alex