Network File System (NFS)
Network File System (NFS)
For Full Read Write Permissions allowing any computer from 192.168.1.1 through 192.168.1.255 /avinash 192.168.1.1/24(rw,no_root_squash,async) or /avinash 192.168.1.*(rw,no_root_squash,async)
save this file and exit. A client can be specified either by name or IP address. A client specification may be followed by a set of options, in parenthesis. It is important not to leave any space between the last client specification character and the opening parenthesis, since spaces are intrepreted as client seperators. Now, we need to start the NFS server using the following command. sudo /etc/init.d/nfs-kernel-server start
Now we need to restart the services the using the following the command. sudo /etc/init.d/nfs-common restart Mounting at boot using /etc/fstab : An alternate way to mount an NFS share from another machine is to add a line to the /etc/fstab file. The line must state the hostname of the NFS server, the directory on the server being exported, and the directory on the local machine where the NFS share is to be mounted. The general syntax for the line in /etc/fstab file is as follows: example.hostname.com:/avinash /avinash nfs rsize=8192,wsize=8192,timeo=14,intr i.e 10.200.53.122:/avinash /avinash nfs rsize=8192,wsize=8192,timeo=14,intr i.e <server_machine>:/avinash /avinash nfs rsize=8192,wsize=8192,timeo=14,intr
References :
https://help.ubuntu.com/6.06/ubuntu/serverguide/C/network-file-system.html http://www.ubuntugeek.com/nfs-server-and-client-configuration-in-ubuntu.html http://en.wikipedia.org/wiki/File_system http://en.wikipedia.org/wiki/Thin_client