FreeNAS Network Shares Mounted in Ubuntu (w/ Plex, KVM)

dmuller720

Cadet
Joined
Feb 12, 2017
Messages
3
Hello FreeNAS forums! I've been banging my head against this issue for a couple weeks now and thought it time to seek out some help.


I. Summary
I have one FreeNAS server and one server running Ubuntu. I would like to run Plex in a docker on the Ubuntu server and have the Plex config and media directories point to a network share located on the FreeNAS server. Additionally, I would like to run a virtual machine on the Ubuntu server which would have full access to the mounted directories.


II. Servers
FreeNAS Server
Build: FreeNAS-11.0-U4 (54848d13b)
Platform: Intel(R) Pentium(R) CPU G3258 @ 3.20GHz
CPU(s): 4
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
Memory: 8042MB


Ubuntu Server
Build: Ubuntu 17.04
Platform: Intel(R) Xeon(R) CPU E5-2670 @ 2.60GHz
CPU(s): 32
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 2
Memory: 49152MB



III. Current Configuration
I have set up data-sets and CIFS shares similarly to this link. I have the data-sets owned by a user and group, the cifs shares defined, and the shares mounted to the Ubuntu Servers filesystem using the toma user and its password like this //192.168.1.142/plex /mnt/plex cifs credentials=~/toma.credentials,uid=1001,gid=1001,iocharset=utf8,file_mode=0777,dir_mode=0777
Like this I am able to connect to the shared directories, but do not have rw access. Therefore when I start up plexinc/pms-docker I get Permission Denied when it tries to set up its config files. On top of this, I would like to set up a KVM virtual machine on the Ubuntu Server that has rw access to the mounts, but I would imagine that once I get the proper mount configuration this will not be an issue.


I am in no way married to the smb shares, they are just what I was most comfortable with.


I have attached some images of some of my current configurations and would gladly provide any other information that you would need.


I really appreciate any help I can get.


Thanks,
Dan
 

Attachments

  • Screen Shot 2017-10-14 at 11.31.52 AM.png
    Screen Shot 2017-10-14 at 11.31.52 AM.png
    303.9 KB · Views: 431
  • Screen Shot 2017-10-14 at 11.54.50 AM.png
    Screen Shot 2017-10-14 at 11.54.50 AM.png
    130.8 KB · Views: 448
  • Screen Shot 2017-10-14 at 11.55.05 AM.png
    Screen Shot 2017-10-14 at 11.55.05 AM.png
    70.2 KB · Views: 410
  • Screen Shot 2017-10-14 at 11.55.17 AM.png
    Screen Shot 2017-10-14 at 11.55.17 AM.png
    150.6 KB · Views: 401
  • Screen Shot 2017-10-14 at 11.55.33 AM.png
    Screen Shot 2017-10-14 at 11.55.33 AM.png
    123.4 KB · Views: 417

pschatz100

Guru
Joined
Mar 30, 2014
Messages
1,184
Exactly what is it that you are trying to accomplish? This seems to be unnecessarily complicated to me. At the very least, I would keep the configuration files on the same system as the application.
 

dmuller720

Cadet
Joined
Feb 12, 2017
Messages
3
Exactly what is it that you are trying to accomplish? This seems to be unnecessarily complicated to me. At the very least, I would keep the configuration files on the same system as the application.

The configuration files for Plex contain library metadata when can get in the realm of 100s of GBs and the host system is limited on storage space. Additionally, config contains my user definitions, what they've watched and their progress on shows which is information that I would like be able to back up.

I simply want to host a share using FreeNAS and mount it with full access to the directory. I feel like this should be trivial but I am having some difficulty with it.
 

joltman

Dabbler
Joined
Jul 25, 2012
Messages
21
The configuration files for Plex contain library metadata when can get in the realm of 100s of GBs and the host system is limited on storage space. Additionally, config contains my user definitions, what they've watched and their progress on shows which is information that I would like be able to back up.

I simply want to host a share using FreeNAS and mount it with full access to the directory. I feel like this should be trivial but I am having some difficulty with it.

Old thread, but did this get solved? I've got similar requirements and want to get a working system. Thanks!
 
Top