Server Version#: Current Version, just installed this yesterday
Player Version#:
HI all,
I installed a fresh copy of Plex on a CentOS server yesterday. Plex is running fine. The problem I’m having is setting up SMB so that I can connect to my FreeNAS share.
I followed this tutorial:
At the bottom it goes in to connecting to a network share. I follow the directions and when I run this command:
And btw since you have FreeNAS in one side and Linux in the other, perhaps you can go with nfs? That should be easy to setup on the freenas side (Well and possibly smb too).
I just mention NFS cause setup on both server and client side might be easier (at least NFS v3) if you need to access the FreeNAS share in a windows machine, then you’ll likely need SMB regardless.
I actually got it working. Had to do some Linux investigating. The only thing required was to put a mount command in the fstab. Samba is built in the Kernel. Once I mounted the drive, then getting it to come up on boot was easy. So in case someone else needs to know, here’s what I did:
As root installed the cifs-utils package:
yum install cifs-utils
Then created the mount directories. You can create these pretty much anywhere and they are regular directories:
cd /mnt
mkdir plex
Which gives you a path of /mnt/plex
Then I mount the drive with my NAS share to this location by putting this line in the /etc/fstab file:
Ah so the problem was “client” side (in terms of samba server/client).
Yeah you would need to mount it first (fstab mount it at boot) same has you would in windows (but with a network drive probably).
Unsure about CentOS but some linux distros (and even FreeBSD or MacOS) offer “autofs” or “automount” which might help too, but fstab is fine.
CentOS should also have built in NFS support, you can experiment but it might offer better performence.
One thing though, be sure the dirs are created so the plex user (or whatever user runs PMS on centOS) has access to it, at least read, but possibly write to for some functions.