Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to have multiple mounting points to a block storage?
I understand that I can create a block storage volume and attach it a droplet. I can then run a set of commands which DigitalOcean provides me upon creation of my volume to mount a folder in
/mnt/my_mounted_folder to the storage volume. But that’s just a single mounting point, ie, one folder, though.
What if I have multiple mounting points for my block storage volume?
In my case, I’ve multiple folders that I’m considering to mount to a block storage volume. So, I might have a few folders from different places which I want to mount to the volume. For instance, I may have
/usr/other_data that I want to mount to a storage volume. All these folders reside on the same droplet instance.
In this case, how can I mount all of these folders to the storage volume in their own folders?
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.×