feleven
Dabbler
- Joined
- Feb 17, 2014
- Messages
- 39
I run TrueNAS 12.0-U5 with Plex media folders/files at /mnt/TANK/PlexMedia. I installed Plex Media Server inside a jail at /mnt/TANK/iocage/jails.
I expected that the jail Mount Points connected the actual Plex media files by a symlink or pointer of some kind, as its my understanding (possibly flawed) that a jailed app that references externally located files doesn't copy those files into itself, but just points to them at their original location.
So if I drop a movie file, for example "The Quiet Earth (1985)" into folder /mnt/TANK/PlexMedia/Movies, and have jail Mount Points set as:
Source: /mnt/TANK/PlexMedia
Destination: /mnt/TANK/iocage/jails/plex/root/media
I expected the movie file to show up in the Plex jail as a symlink of some sort. Instead, I see what appears to be the actual movie file copied to the jailed plex media folder. That is, I see the same -rwxrwxr-x permissions string at both the original and jailed media locations:
TrueNAS# ls -lrt /mnt/TANK/PlexMedia/Movies
-rwxrwxr-x 1 nobody nobody 4695781113 June 25 2011 The Quiet Earth (2012).mkv
TrueNAS# ls -lrt /mnt/TANK/iocage/jails/plex/root/media/Movies
-rwxrwxr-x 1 nobody nobody 4695781113 June 25 2011 The Quiet Earth (2012).mkv
I was expecting to see lrwxrwxr-x in the jailed media location. Am I misunderstanding how the jailed media files are linked, or did I somehow mess up my jailed Plex Media Server installation?
FWIW, I started out with FreeNAS 9.x way back in 2014, and have updated and upgraded my way to 12.0-U5 through the years. Plex Media Server was originally installed as a FreeNAS plug-in, but I migrated it into an iocage/jail in 2018 following detailed instructions I found in these forums ... not to say I didn't screw something up in the process.
I expected that the jail Mount Points connected the actual Plex media files by a symlink or pointer of some kind, as its my understanding (possibly flawed) that a jailed app that references externally located files doesn't copy those files into itself, but just points to them at their original location.
So if I drop a movie file, for example "The Quiet Earth (1985)" into folder /mnt/TANK/PlexMedia/Movies, and have jail Mount Points set as:
Source: /mnt/TANK/PlexMedia
Destination: /mnt/TANK/iocage/jails/plex/root/media
I expected the movie file to show up in the Plex jail as a symlink of some sort. Instead, I see what appears to be the actual movie file copied to the jailed plex media folder. That is, I see the same -rwxrwxr-x permissions string at both the original and jailed media locations:
TrueNAS# ls -lrt /mnt/TANK/PlexMedia/Movies
-rwxrwxr-x 1 nobody nobody 4695781113 June 25 2011 The Quiet Earth (2012).mkv
TrueNAS# ls -lrt /mnt/TANK/iocage/jails/plex/root/media/Movies
-rwxrwxr-x 1 nobody nobody 4695781113 June 25 2011 The Quiet Earth (2012).mkv
I was expecting to see lrwxrwxr-x in the jailed media location. Am I misunderstanding how the jailed media files are linked, or did I somehow mess up my jailed Plex Media Server installation?
FWIW, I started out with FreeNAS 9.x way back in 2014, and have updated and upgraded my way to 12.0-U5 through the years. Plex Media Server was originally installed as a FreeNAS plug-in, but I migrated it into an iocage/jail in 2018 following detailed instructions I found in these forums ... not to say I didn't screw something up in the process.