Friday, November 13, 2015

[FeeeNAS]: Can I mount a FreeNAS server(slave) to a second FreeNAS server(master)?

Can I mount a FreeNAS server(slave) to a second FreeNAS server(master)?



Yes.
On the slave FreeNAS (10.10.10.2) you have to:
a. enable the NFS server.
b. map all user to root: NO
c. authorised network: 10.10.10.1 & netmask /1. 

On your master FreeNAS(10.10.10.1) box from WebGUI -> Diagnostics -> Commands:
a. mkdir /mnt/MyShare/slave
b. mount -t nfs 10.10.10.2:/mnt/YourShare /mnt/MyShare/slave
c. ls /mnt/MyShare/slave

Warning: FreeNAS startup script don't include the support of mounting NFS share at boot time.

No comments: