How to link FreeNAS to another NAS

Status
Not open for further replies.

TonyNAS

Dabbler
Joined
Mar 22, 2015
Messages
14
Hello all,

It is a couple of hours that I am trying to accomplish to link together my FreeNAS (I use it to store files and run media services (Plex)) to a WD World Edition NAS (I use it only as a storage and I have .mkv files on it). I want to link the FreeNAS to the WDNAS such that PLEX can take the files from the WDNAS and stream them from FreeNAS.

I tried to mount NFS and It works, but when i reboot I have to input the command again. I tried an init script and it doesn't work. Do you have any suggestion? Thank you

Code:
mkdir /mnt/WDNaS
mount -t nfs 192.168.2.6:/nfs/Download /mnt/WDNaS
 
Last edited by a moderator:

Artion

Patron
Joined
Feb 12, 2016
Messages
331
Hi, as I understand it, you are trying to mount an NFS WD World Edition NAS share to your plex jail, is it?
Have you tried to mount it within the plex jail rather than from FN? If it does work, you can edit the jails fstab to include the mountpoint of the share So it will auto mount on every reboot. Also take care of the permissions on the mountpoint.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Create the share using GUI.
...which won't help him at all, since he's trying to mount a remote share on the FreeNAS box. FreeNAS isn't designed to do that. It's a file server, not a file server client.
 

TonyNAS

Dabbler
Joined
Mar 22, 2015
Messages
14
Danb i don't like such limitations, i would like to do what i want with my server!!! I hope you can understand
 

Artion

Patron
Joined
Feb 12, 2016
Messages
331
Danb i don't like such limitations, i would like to do what i want with my server!!! I hope you can understand
:) It's not a limitation. Just every tool has a purpose. And the FN purpose is to serve files. Thats it. And its GUI has a lot of features relative to this purpose. But nothing stops you to modify every piece of it, if you're capable of. ;)

BTW, have you tried this solution?

Hi, as I understand it, you are trying to mount an NFS WD World Edition NAS share to your plex jail, is it?
Have you tried to mount it within the plex jail rather than from FN? If it does work, you can edit the jails fstab to include the mountpoint of the share So it will auto mount on every reboot. Also take care of the permissions on the mountpoint.
 

TonyNAS

Dabbler
Joined
Mar 22, 2015
Messages
14
Hello,

I cannot mount the nfs on the jail. I solved the problem mounting it on the host FreeNAS and using an init script to boot it up. However the nfs mounting is slow and I need to mount the ftp on the file system because it seems faster... to do it I need to use fuse but it doesn't work in the jail. I can try installing the curlftpfs directly on the host system but the pkg install doesn't work. Someone knows how to enable it?
 
Last edited by a moderator:
Status
Not open for further replies.
Top