jueves, 23 de enero de 2020

NFS desde UBUNTU con FREENAS

On Ubuntu NFS client machine we need install NFS client software:

apt-get install nfs-common
Create new folder (RRHH for example):

mkdir /home/amaya/RRHH
Then mount NFS share:

sudo mount 10.222.54.10:/mnt/VOL1/Dataset1 /home/amaya/RRHH/
Now we are connected with the NFS share. If we restart client machine share will be unmounted.



For permanent mount NFS share at client end on startup we need to add the NFS share in fstab file on Linux client.

nano /etc/fstab
and add next line into fstab file:

10.222.54.10:/mnt/VOL1/Dataset1 /home/amaya/RRHH/ nfs defaults    0 0
Now NFS share will mounted on startup after reboot.