By xEnOn
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 /mnt/db1_data, /mnt/db2_data, /home/app/some_upload_folder and /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?
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!
Alternatively, what’s is the best practices for a situation like the one I’m having?
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.