Mounting NFS share from Linux into FreeNAS

lleb

Dabbler
Joined
Nov 7, 2015
Messages
24
Running FreeNAS-9.10.2-U2 as my Plex server. Sadly over 80% used in my storage on the FreeNAS server. It is running sRAID6. I do plan on upgrading the drives over time from 3TB x6 -> 10TBx6, but that will take both time and money.

To take some of the stress off of the FreeNAS drives my workstation running Fedora 29 has a 4TB drive with plenty of storage space. I can keep bouncing files back and forth between FreeNAS and Fedora via rsync, but that is cumbersome and requires me to be home. Not something that is ideal.

I want to create a NFS share on my Fedora workstation and have either FreeNAS or the Plex jail mount the drive with the bg,soft options so that if for what ever reason the Fedora system is offline FreeNAS will not lock up trying to access a network resource that is not present.

Thank you.
 
Last edited:
Joined
Dec 29, 2014
Messages
1,135
Can you mount it? Yes. I don't believe you can create shares on it, or make it automatically mount on boot. I have done this before from the CLI to migrate data from one FreeNAS to another.
 

lleb

Dabbler
Joined
Nov 7, 2015
Messages
24
Elliot Dierksen, is there not a /etc/fstab or something similar in FreeNAS to tell the OS what drives to mount? Manually mounting could be a bit of a pain, but would be doable at least.

When you say cannot create shares? I am not wanting FreeNAS to create the share, it already shares out files via NFS to my Linux workstation. I would like to go the other direction in such that the Linux workstation acts as a NFS server hosting to the FreeNAS as the client. This will be a temporary workaround until I can afford to replace all of my HDDs.
 
Joined
Dec 29, 2014
Messages
1,135
is there not a /etc/fstab
Yes, there is. The problem is that it is recreated from the configuration database after each boot. I don't know how you could make it automatically mount. The only thing that comes to mind would be some kind of script during the boot process that does the mount. I have never used that, so I don't know if that is practical or not.
 

lleb

Dabbler
Joined
Nov 7, 2015
Messages
24
a mount script might work, but what about the shares you talked about?
 
Joined
Dec 29, 2014
Messages
1,135
a mount script might work, but what about the shares you talked about?
You said you weren't planning on sharing this NFS from FreeNAS, so that doesn't sound like it is relevant to you.
 

lleb

Dabbler
Joined
Nov 7, 2015
Messages
24
so just to be clear:

Can you mount it? Yes. I don't believe you can create shares on it, or make it automatically mount on boot. I have done this before from the CLI to migrate data from one FreeNAS to another.

does not matter?
 
Top