Jellyfin Forum
File structure/mount points in linux - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: File structure/mount points in linux (/t-file-structure-mount-points-in-linux)



File structure/mount points in linux - mrhedges - 2024-01-22

Sorry I'm a total newbie here. I'm trying to set up a media server on an old dell desktop I have laying around running linux mint. I installed a 4 gig HD in the internal caddie formatted in exfat figuring they'd be easier to access on any device. I called it "media" not realizing that the default mount location is /media/ I created a directory called "tvshows" and another called "movies" and copied my files into each one and and it automatically is mounting it in /media/username. So the location of each folder is /media/username/media/movies or media/username/media/tvshows. It seems like to me this shouldn't be an issue but when I try to select a path while setting up Jellyfin it won't go past /media/username . Do I have to set a different mount point with less folders? I tried to look in the documentation and watch some youtube videos and I didn't see anything. Both folders set up with full permissions


RE: File structure/mount points in linux - tmsrxzar - 2024-01-22

you can't let linux auto mount the drive, you need to use fstab
the issue is permission not the name of the drive

https://help.ubuntu.com/community/Fstab

temporarily you can do this so that the drive is mounted with permission to jellyfin

sudo umount /media/username/media
mkdir -p /jellyfin/media
sudo mount -t exfat -o uid=(jfuid),gid=(jfgid) /dev/sd(whatever) /jellyfin/media


outside of that i couldn't offer much as i can't hold lectures on linux
keep in mind jellyfin server also runs on windows and mac so you could always take one of those routes if linux isn't your deal


RE: File structure/mount points in linux - mrhedges - 2024-01-22

(2024-01-22, 01:15 AM)tmsrxzar Wrote: you can't let linux auto mount the drive, you need to use fstab
the issue is permission not the name of the drive

https://help.ubuntu.com/community/Fstab

temporarily you can do this so that the drive is mounted with permission to jellyfin

sudo umount /media/username/media
mkdir -p /jellyfin/media
sudo mount -t exfat -o uid=(jfuid),gid=(jfgid) /dev/sd(whatever) /jellyfin/media


outside of that i couldn't offer much as i can't hold lectures on linux
keep in mind jellyfin server also runs on windows and mac so you could always take one of those routes if linux isn't your deal

Thanks for your advice. this makes a lot of sense.
Oh, I'm sticking with linux. luv it.