Install nfs server in Ubuntu 12.04:
sudo apt-get install nfs-kernel-server nfs-common portmap
Add this line to /etc/exportfs file (with root permissions):
/home/rootfs *(rw,async,no_root_squash,no_subtree_check,insecure)
Execute (with root permissions):
$ exportfs -a
And Execute in the client the nex command:
$ df -h
And you can see something like:
Filesystem Size Used Available Use% Mounted on
192.168.0.41:/home/rootfs/ 14.8G 4.9G 9.1G 35% /
devtmpfs 240.2M 0 240.2M 0% /dev
tmpfs 240.4M 0 240.4M 0% /dev/shm
tmpfs 240.4M 60.0K 240.3M 0% /tmp