Jellyfin Forum
Locating path to secondary internal hard drive for media - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Locating path to secondary internal hard drive for media (/t-locating-path-to-secondary-internal-hard-drive-for-media)



Locating path to secondary internal hard drive for media - lonewolf - 2024-09-28

Hi guys I'm super new to this. Hence, this post. I took a Dell Optiplex 7010 Micro and installed Ubuntu. It has an Intel i5 13500T and 32gb of ram with a 1tb NVMe OS drive. It also has an internal 2tb 2.5" SSD for media storage. I installed Jellyfin and have that up and running. I logged into the IP with the 8096 port just fine but when I went to locate my secondary hard drive which is the 2.5" internal SSD containing all my media. Blu-Ray movies I ripped from the movies I own and converted to mp4 in Handbrake. I searched every tab given in the drop down and could not locate the correct path to add the movie folders. If anyone can help I'm sure this is something basic that I am missing because I'm new. I do have Discord if anybody can lend a few minutes of their time I would greatly appreciate it.

LoneWolf

Discord
therealreaper01


RE: Locating path to secondary internal hard drive for media - theguymadmax - 2024-09-28

You’ll need to mount the drive in fstab and ensure the folders have the correct permissions. Follow this guide.


RE: Locating path to secondary internal hard drive for media - lonewolf - 2024-09-28

(2024-09-28, 07:01 AM)theguymadmax Wrote: You’ll need to mount the drive in fstab and ensure the folders have the correct permissions. Follow this guide.

Thank you for the info. I am looking it over and it might as well be in Russian lol I have no idea what they are explaining. Does this need to be done for each individual movie file or just the main Movies folder on the drive? I'm so lost right now.


RE: Locating path to secondary internal hard drive for media - TheDreadPirate - 2024-09-28

The guide is part primer to help beginners understand Linux permissions and part walkthrough for mounting a hard drive properly since both go hand in hand.

Your external SSD is PROBABLY in /media/{insertYourUser}/{insertSSDName}.

To add the contents of your external SSD you would need to go to Dashboard > Library. Then you create a library of the appropriate type and in that menu you'd provide the path to your library.

Where your SSD is, likely, currently mounted Jellyfin won't be able to access it.


RE: Locating path to secondary internal hard drive for media - lonewolf - 2024-09-30

(2024-09-28, 04:20 PM)TheDreadPirate Wrote: The guide is part primer to help beginners understand Linux permissions and part walkthrough for mounting a hard drive properly since both go hand in hand.

Your external SSD is PROBABLY in /media/{insertYourUser}/{insertSSDName}.

To add the contents of your external SSD you would need to go to Dashboard > Library.  Then you create a library of the appropriate type and in that menu you'd provide the path to your library.

Where your SSD is, likely, currently mounted Jellyfin won't be able to access it.

I see the secondary drive mounted. It shows it in the taskbar. If I right click on it, it says New Window and Unmount.


RE: Locating path to secondary internal hard drive for media - TheDreadPirate - 2024-09-30

Yes. But the location that Ubuntu mounts that drive is protected by an ACL (access control list). You could remove the ACL, but that is a temporary fix.

The proper, and permanent, solution is to manually mount your drive. I wrote a guide, that theguymadmax linked, for how to do that. And it is also a linux permissions primer, which I would suggest you read so you understand why Jellyfin can't access your drive where it currently is. And this will also help you better understand linux permissions so you avoid just "chmod 777" everything like a lot of Linux beginers do.

https://forum.jellyfin.org/t-mounting-local-storage-in-linux-linux-permissions-primer