By Luke Daly
I have a droplet that has the following spec: 2 GB Memory / 40 GB Disk / 2 vCPUs I am looking for a way to increase just the storage, can I use volumes or spaces for this? Any advice or support is very much welcomed.
Kind regards,
Luke
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!
Hey Luke!
Volumes would be more ideal than Spaces for this need, as it would act much like plugging in a second hard drive to the droplet. You can format it and mount it to your preferred location. Note that this will not increase the size of the root partition, but you could use it to store data on. Popular examples might be to mount it as /home or /var/www. We have some great documentation that can get you started:
https://www.digitalocean.com/docs/volumes/
Now, if increasing the size of the root partition is the goal, then you would need to resize the whole droplet. For that, we have documentation here:
https://www.digitalocean.com/docs/droplets/how-to/resize/
Kind Regards, Jarland
The previous commentator has covered the salient points. I would just like to add that setting up Volumes with your Droplet is a seamless affair since we allow for auto-formatted and mounted Volumes. This means that you can provision additional storage for your Droplet without having to run any manual configuration steps through SSH.
Heya,
You can attach a volume to your droplet and this will give you additional disk space.
Volumes are network-based block devices that provide additional data storage for Droplets. You can move them between Droplets and resize them at any time. Learn more about volumes.
Once the volume is created you need to mount it on your droplet.
https://docs.digitalocean.com/products/volumes/how-to/mount/
After mounting the volume, it is accessible on your Droplet at /mnt/your-volume-name. You can use this path to do any file operations you would do with a native volume, including creating, moving, or deleting files.
Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.