Michael De Cou
Explorer
- Joined
- Aug 12, 2016
- Messages
- 50
Hi all,
I have just taken the plunge and abandoned Warden for iocage. I have gotten my plex jail setup, but I ran into an issue when adding storage. In plex, when adding media libraries, the "browse for media" function only allows for browsing starting at the following location:
"/usr/local/plexdata-plexpass/Plex Media Server"
So... Naturally I am trying to add storage to the iocage jail using fstab, targetting a "Media" folder in the above location. The folder is at:
/usr/local/plexdata-plexpass/Plex Media Server/Media
Through much digging, I have found what i believe to be the correct syntax to add this in fstab, replacing the spaces with "\040". The entry is able to be added, however, when I start the jail, i get an error stating that the mount failed because the filename is too long. The entry in fstab is as follows:
/mnt/PROD/Plex\040Media /mnt/iocage/jails/Plexmediaserver_1/root/usr/local/plexdata-plexpass/Plex\040Media\040Server/Media nullfs ro 0 0
Now... If I shorten it, and try to mount in a "Media" folder at a lower level, everything works fine... I just can't browse to the folder because Plex only browses folders starting in the location noted above.
What i would like to know is:
1. What is the max length of the target in fstab ?
2. Is there a way to allow plex to browse folders starting at /root/ ?
Thanks for any help.
I have just taken the plunge and abandoned Warden for iocage. I have gotten my plex jail setup, but I ran into an issue when adding storage. In plex, when adding media libraries, the "browse for media" function only allows for browsing starting at the following location:
"/usr/local/plexdata-plexpass/Plex Media Server"
So... Naturally I am trying to add storage to the iocage jail using fstab, targetting a "Media" folder in the above location. The folder is at:
/usr/local/plexdata-plexpass/Plex Media Server/Media
Through much digging, I have found what i believe to be the correct syntax to add this in fstab, replacing the spaces with "\040". The entry is able to be added, however, when I start the jail, i get an error stating that the mount failed because the filename is too long. The entry in fstab is as follows:
/mnt/PROD/Plex\040Media /mnt/iocage/jails/Plexmediaserver_1/root/usr/local/plexdata-plexpass/Plex\040Media\040Server/Media nullfs ro 0 0
Now... If I shorten it, and try to mount in a "Media" folder at a lower level, everything works fine... I just can't browse to the folder because Plex only browses folders starting in the location noted above.
What i would like to know is:
1. What is the max length of the target in fstab ?
2. Is there a way to allow plex to browse folders starting at /root/ ?
Thanks for any help.