Question

Shared Disk Space between Droplets

I was wondering if there is a way to setup a Share Disk Space, IE: I want a Network Disk Space to attach to my droplets so I can set up users space pointing to that disk space for both droplets. I saw you can add block storage to a droplet, but what I am looking for is an independent storage so that when I spin up a droplet, I can attach to that storage and use it between droplets.


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.

Hi there,

I would also suggest using Spaces for this as Alexdo mentioned.

An alternative option is to setup an NFS server. You can do that by following the steps here:

https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-20-04

This will however require some more server configuration and then maintenance compared to just using Spaces.

Hope that this helps!

Best,

Bobby

Hello @keiichi25

You can check this article posted by Caleb Lemoine in dev.to on

How to share a volume between cloud servers using DigitalOcean Spaces

https://dev.to/circa10a/how-to-share-a-volume-between-instances-using-digitalocean-spaces-2ea

Regards