Plex with multiple mount points

Ukaros

Cadet
Joined
Apr 6, 2022
Messages
8
Hey everyone
Ive been trying to setup my Plex-Server on my new TrueNAS but ran into some complications:

I have 2 datasets with the corresponding mount points, lets call them "nas/plexmedia" and "nas/family". Adding "/plexmedia" worked perfectly fine but when i added "/family" "/plexmedia" disappeared out of Plex. When i then removed the mountpoint for "/family" again "/plexmedia" appeared again.

In conclusion only one mount point is shown at a time (which is always the latest added). Is that a limitation of TrueNAS/ Plex or is there something set up incorrectly?
 

Ukaros

Cadet
Joined
Apr 6, 2022
Messages
8
to clarify even more: when talking about adding something, I'm of course talking about adding mount points.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
something set up incorrectly?
For sure it must be... you can have many mounts active and working at the same time.

Perhaps you can give us a bit better picture of what you're doing exactly, so we might help to identify what's going wrong.
 

Ukaros

Cadet
Joined
Apr 6, 2022
Messages
8
For sure it must be... you can have many mounts active and working at the same time.

Perhaps you can give us a bit better picture of what you're doing exactly, so we might help to identify what's going wrong.
Certainly.

So i have 2 datasets (on the same drives) that i want to mount to Plex. The first one works perfetly fine and Plex finds everything in it.
Screenshot 2022-04-06 185739.png
Screenshot 2022-04-06 185856.png

However, once i add another mounting point, the first one nolonger appears in Plex
Screenshot 2022-04-06 185959.png

Screenshot 2022-04-06 190045.png
 

Ukaros

Cadet
Joined
Apr 6, 2022
Messages
8
However, once i add another mounting point, the first one nolonger appears in Plex
undefined
these folders are inside the second mounting point and also work perfectly fine by themselfs
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
It seems to me that you're trying to mount at one level too high in the jail...

You can only mount one directory to one directory at a time (what you're seeing)...

But you can mount to as many directories as you want...

If the destination for the mount is /mnt/pool??/iocage/jails/Plex/root/media that same mount destination can't be used again for a different mount.

What I recommend you do is:

Source: /mnt/pool??/??bk
Target: /mnt/pool??/iocage/jails/Plex/root/media/??bk

Source: /mnt/pool??/plexmedia
Target: /mnt/pool??/iocage/jails/Plex/root/media/plexmedia
 

Ukaros

Cadet
Joined
Apr 6, 2022
Messages
8
Wow that actually worked. Thanks a lot. It never occurred to me because there is no apparent way to create new directories in this menu.


For future reference:
Stop your Plex plugin.
Use the Shell and navigate to your directory and create as many directories as you need. Create you mount points (one mount point for each dataset)
Start your Plex plugin and proceed as normal
Screenshot 2022-04-07 130728.png
Code:
cd /mnt/[YOUR POOL]/iocage/jails/[NAME OF YOUR JAIL]/root/media/
mkdir [folder name] [folder name2] 
(do not include "[ ]" )

Screenshot 2022-04-07 125323.png
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
It never occurred to me because there is no apparent way to create new directories in this menu.
Actually there is:

1649334872968.png


Navigate to the path where you want to add the new subdirectory, then type the additional path (like /something) in the line at the top.
 
Top