FreeNAS as an NFS Client?

Status
Not open for further replies.

neils

Dabbler
Joined
Oct 29, 2012
Messages
46
Would like to mount one FreeNAS NFS volume to another FreeNAS volume for regular terabyte sized transfers. How is a permanent NFS mount, or a permanent autofs request configured that persists across FreeNAS reboots?
 

neils

Dabbler
Joined
Oct 29, 2012
Messages
46
Would like to mount one FreeNAS NFS volume to another FreeNAS volume for regular terabyte sized transfers. How is a permanent NFS mount, or a permanent autofs request configured that persists across FreeNAS reboots?
I meant to say, would like to mount one FreeNAS NFS volume to another FreeNAS host ...
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
There's nothing preventing you from manually mounting a NFS export, I'd advise you do it via an init script opposed to editing the fstab, because in the past people have modified this and broke their FN box.

Now, is NFS something you need to use? If you're trying to copy/replicate data, why not use ZFS replication? This would be far more efficient.
 

neils

Dabbler
Joined
Oct 29, 2012
Messages
46
Are you wanting to simply have replication of one server to another?


That is quite a lot, mind if I ask why so much data?
Historical lightning & radar research data of faculty at dept. Atmospheric Sciences, Texas A&M Univ.
 

neils

Dabbler
Joined
Oct 29, 2012
Messages
46
There's nothing preventing you from manually mounting a NFS export, I'd advise you do it via an init script opposed to editing the fstab, because in the past people have modified this and broke their FN box.

Now, is NFS something you need to use? If you're trying to copy/replicate data, why not use ZFS replication? This would be far more efficient.
Could rsync but given size of move(s), thought I'd avoid the ssh encryption overhead if possible.

I don't quite understand the configuration file strategy of FreeNAS. Changes to, for example, /etc/fstab do not persist across reboot. Don't know if an rc.local is either. Or perhaps it's saved in a nonvolatile /usr/local/etc maybe.
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
Again, why not ZFS replication? Rsync will copy the whole file, replication will transfer only the deltas.

Also, tell SSH to use 'arcfour', it's based on RC4 and is the fastest algorithm without disabling encryption.
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
I think I'd have to have ssh re-compiled to enable a 'disabled' cipher.
Not if you use ZFS replication:
upload_2016-2-25_11-50-26.png
 

neils

Dabbler
Joined
Oct 29, 2012
Messages
46
The replication looks like a nice alternative.
But our users prefer to xfer subdirectories of data at will and at their choosing.
(the FreeNAS NFS client is bound to an ldap and is now [see below] mounting home directories)

After reviewing m0nkey's advice, I found the Init/Shutdown GUI in 'Tasks' and have
- manually mounted the needed NFS share
- configured the mount as a post-init command

Apologies to all for not reading the friggin manual.
And many thanks for your suggestions!
 
Status
Not open for further replies.
Top