NFS server and client on Ubuntu PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Bart Dorlandt   
Saturday, 24 November 2007 12:44

I have 2 Ubuntu machines at home and want to exchange some files between them. One of these machines is going to be my NFS server, which is the standard PC. 

What to do for the NFS server:

apt-get install nfs-kernel-server portmap

I use the nfs-kernel-server so I don't have issues with files larger than 2GB. After this I change the file: /etc/exports.

/data 192.168.1.0/255.255.255.0(rw,sync,fsid=0,crossmnt,subtree_check)

I have configured the directory /data to be exported to the 192.168.1.0/24 range with the option you see there. What these mean can be found by typing man exports.

 /etc/init.d/nfs-kernel-server

What to do for the NFS client:

 apt-get install nfs-common portmap

How to mount the filesystem at the server can be found in this article.

Good luck. 

Last Updated on Sunday, 02 December 2007 23:11
 


Related items: