Question

Resize Droplet Precaution

  • Posted February 2, 2022

I am currently using Droplet on Basic Plan of 50GB and it is currently running on 87% utilization. I want to increase my storage with around at least 50GB more with minimum efforts.Major occupancy on droplet is 35GB for our Database.

-I am ignoring volume only because volumes are not govern by DO backup service has a big risk factor of data loss if something goes wrong.

-Current plan is to go ahead with resizing DO with “Memory-Optimized” plan

some doubt about same is -What are the efforts we would need to take? -Shutdown of Droplet and starting again will cause any changes in services? -Will we retain IP address of the droplet -Is there any space requirement for taking Snapshot? -Resize partition growpart and resize2fs are only 2 steps after selecting the plan?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello,

There are two main things listed in the documentation that I would personally recommend keeping in mind when planning a resize:

  • 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.

  • It is strongly recommended to take 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:

https://docs.digitalocean.com/products/droplets/how-to/resize/#verifying-disk-resizes

Regards, Bobby