Plex Installed on Freenas accessing network drive

Mannekino

Patron
Joined
Nov 14, 2012
Messages
332
:D

I managed to get it to work. The problem was with the setting server min protocol you can find this in /etc/local/smb4.conf. This was changed in FreeNAS 11.1-U6 you can find more information here including a permanent solution by adding a tuneable. Remember this has to be done on the FreeNAS server you're connecting to.

Is the share you want to access located on a FreeNAS server also or is it some other kind of server?

Here it is:
Code:
root@freenas[~]# mount_smbfs -I 192.168.178.10 //<user>@freeas-test/testing /mnt/testing/
Password:
root@freenas[~]# cd /mnt/testing
root@freenas[/mnt/testing]# ls -al
total 16
drwxr-xr-x  1 root  wheel  16384 Jan  1  1970 .
drwxr-xr-x  5 root  wheel    256 Feb 10 23:20 ..
-rwxr-xr-x  1 root  wheel      8 Feb 13 07:10 Test.txt


Also don't forget I had to enable a kernel module on the FreeNAS server I was connecting from for this to work:
Code:
kldload smbfs
 
Last edited:

canbonbon

Cadet
Joined
Oct 2, 2016
Messages
4
Hello JayM, were you able to figure out how to map your external NAS to freeNAS? I have been looking for this solution for over an year but I have still not been able to figure this out.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
So here's how I got a test to work:

Inside the jail, I created the mount target

mkdir /mnt/Download

I then exit the jail and use iocage fstab to do the work for the mapping...

iocage fstab -a myjail //MYUSER@MYSERVER/Download /mnt/Download smbfs rw 0 0

It prompted me for a password before completing the mapping. it does not store that password and every time the jail is started, you are prompted for it (I guess that means no auto-start for that jail). If you wanted to investigate using "-o username=myuser,password=mypassword" after the rw in the command.

The mapping is browsable. I have not done tests on performance.
 

JayM

Dabbler
Joined
Feb 10, 2019
Messages
11
This is how I got mine to work, just paste this into my root. Unfortunately I have to redo it after a reboot or restart that is what I just paste it from a saved txt file.

Code:
mount_smbfs -I 192.168.1.8 //jaym@192.168.1.8/videos /mnt/MediaPool/Media/OLD


The 192.168.1.8 Is the old NAS The username is from the Old NAS. I had to make sure to make a mount paint from Freenas on Plex jail.

Hope this helps.
 
Top