Don't ban lo in the /etc/network/interfaces
lo - local host
otherwise NFS won't work.
Showing posts with label NFS. Show all posts
Showing posts with label NFS. Show all posts
Sunday, February 26, 2012
Tuesday, November 22, 2011
HowTo - NFS
Installation
Setting up IP addresses
# ifconfig eth0 192.168.0.xServer : 192.168.0.8
Client1: 192.168.0.7
Server
1. Install the nfs-kernel-server packet
I used synaptic package manager in Ubuntu 10.04 to install it.
2. Change /etc/exports file [1]
/home/synrg/server 192.168.0.7(rw,no_root_squash,async)I also changed /etc/hosts.allow file for permission concern (I don't know whether it is necessary.)
portmap:ALL3. Start nfs server
You might need to stop and start again if it's already running.
# bash /etc/init.d/nfs-kernel-server startClient
1. Mount from server
# mount 192.168.0.8:/home/synrg/server /mnt/synrg/Files written into /mnt/synrg folder on the client machine will simultaneously transferred to the /home/synrg/server folder on the server machine.
References
[1]http://nfs.sourceforge.net/nfs-howto/ar01s03.html
Subscribe to:
Posts (Atom)