How to mount local folder as Volume?
-
Hi all,
My VPS disk space is huge, still I would like to use the new Volumes.
So I was thinking of moving the data (videos and music) to a folder (what's the best place? in root or home/yellowtent?) and then mount that folder as a Volume. However searching the internet for this specific UC didn't gave me a clear answer/instruction

Does anyone has experience with this?
Thanks in advance!
-
Hi all,
My VPS disk space is huge, still I would like to use the new Volumes.
So I was thinking of moving the data (videos and music) to a folder (what's the best place? in root or home/yellowtent?) and then mount that folder as a Volume. However searching the internet for this specific UC didn't gave me a clear answer/instruction

Does anyone has experience with this?
Thanks in advance!
Ha! The choice is really down to just 4 paths since the code has explicitly white listed these. Only paths under /mnt, /media, /srv, /opt can be added as a volume. (I put a note in https://docs.cloudron.io/storage/#volumes as well now).
My understanding is that /media is for removable items like /media/cdrom whereas /mnt is for user mounts of attached devices (like my windows partition mount etc). Personally, I put my stuff in
/srvsince it's not an external disk.But here's the FHS spec. If you find anything interesting, let me know
I am happy to add more paths to that list if other places are more common/correct. -
Ha! The choice is really down to just 4 paths since the code has explicitly white listed these. Only paths under /mnt, /media, /srv, /opt can be added as a volume. (I put a note in https://docs.cloudron.io/storage/#volumes as well now).
My understanding is that /media is for removable items like /media/cdrom whereas /mnt is for user mounts of attached devices (like my windows partition mount etc). Personally, I put my stuff in
/srvsince it's not an external disk.But here's the FHS spec. If you find anything interesting, let me know
I am happy to add more paths to that list if other places are more common/correct.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login