Article 54 - How to Setup NFS on Ubuntu

Many users who need network accessible files use the Network File System (NFS) for remote access to files.

The NFS is great way to support remote mounting of file systems. For example, you can have an NFS server, and a client that mounts the NFS as a root folder for booting up.

Server NFS Setup

On Ubuntu, you need to install the NFS Kernel Server, so issue the command "sudo apt-get install nfs-kernel-server" to install one.

You also need to edit the exports file located at "/etc/exports", and add all the directories you wish to share on your NFS server.

Each line should be similar, "/mount/point/ (rw, sync)". The brackets enclose extra options.

Make sure to restart your NFS server for settings to take effect. Namely, "sudo /etc/init.d/nfs-kernel-server restart".

You need to export your NFS filesystem using the command exportfs, like, "sudo exportfs -a".

Client NFS Setup

To do a root filesystem mount in Ubuntu, you need to provide to the kernel, during bootup, specific kernel arguments.

Alternatively, if no nfs boot up is given, it will look for a tftp server, normally at /tftpboot/ location. So in your NFS server, you can configure to have /tftpboot/ as a mount point.

Comments (16)

Posted by anonymous - bookmaring service at Friday, March 15, 2013 4:58 AM

RXjOo1 I loved your article post.Really looking forward to read more. Great.

Posted by anonymous - ciprofloxacin side effects at Friday, March 15, 2013 11:03 AM

I appreciate you sharing this blog post.Really thank you! Much obliged.

Posted by anonymous - order generic viagra at Friday, March 15, 2013 12:42 PM

I truly appreciate this blog.Much thanks again.

Posted by anonymous - cheap cialis at Friday, March 15, 2013 2:22 PM

Major thankies for the blog.Really looking forward to read more. Really Cool.

Posted by anonymous - Buy Levitra at Friday, March 15, 2013 4:02 PM

I really liked your blog post.Really thank you! Keep writing.

Post a comment

  • Name:
  • Post:
  • Challenge:

Register or login to post comments easier.


Vantasy World Copyright 2011 - 2017. Vantasy World is a project developed by Vantasy Online. Privacy Policy.