Yesterday, 12:47 AM
(This post was last modified: Yesterday, 12:59 AM by 4r5hw45twh. Edited 4 times in total.)
So, I am following the guide here. I am on latest Ubuntu LTS version. Not really familiar with Linux a whole lot. I don't understand how to do the actual bind mounts part.
Where it says, "mkdir /path/to/config" and "mkdir /path/to/cache", I just manually created 2 folders on the Desktop called "conf" and "cache". Do I still use the mkdir commands there if I manually did it? Did I name them correctly, or does it matter?
My goal is to plug in my external hard drive and always have my JF server recognize & mount that drive and allow JF, which is in Docker, to access it at all times.
Or, let's say I do the persistent mount (which for some reason isn't listed first on the guide page) to make config & cache volumes in Docker.If I have multiple folders for the content on my hard drive (anime, tv shows, movies, etc.) do I then do a bind mount for each of those folders? I see the below code...
but what am I looking at here? I guess in my example, the code for the source part would be "/media/username/drivename/Jellyfin/Anime" (at least when I open my external drive and go to that directory and then open a terminal, that's the path)? But now what about the target? What am I linking to there?
Where it says, "mkdir /path/to/config" and "mkdir /path/to/cache", I just manually created 2 folders on the Desktop called "conf" and "cache". Do I still use the mkdir commands there if I manually did it? Did I name them correctly, or does it matter?
My goal is to plug in my external hard drive and always have my JF server recognize & mount that drive and allow JF, which is in Docker, to access it at all times.
Or, let's say I do the persistent mount (which for some reason isn't listed first on the guide page) to make config & cache volumes in Docker.If I have multiple folders for the content on my hard drive (anime, tv shows, movies, etc.) do I then do a bind mount for each of those folders? I see the below code...
Code:
--mount type=bind,source=/path/to/media1,target=/media1
--mount type=bind,source=/path/to/media2,target=/media2,readonly
...etc
but what am I looking at here? I guess in my example, the code for the source part would be "/media/username/drivename/Jellyfin/Anime" (at least when I open my external drive and go to that directory and then open a terminal, that's the path)? But now what about the target? What am I linking to there?