<< 06 December 2012 | Home | 08 December 2012 >>

NFS for linux

Setting up a network file system

I found this link for a coprhenesive NFS howto.

Assuming that we want to share some directories on server PC in a local area network with LAN address of 192.168.1.0/255.255.255.0

  1. On the PC providing the remote file system (server) find and install the nfs server daeomon (on my system, I install nfs-kernel-server)
  2. Start the system service (Runlevel editor), for service nfsserver and levels 3 and 5
  3. After starting the service and/or rebooting the server check that there is a process running with name nfsd (for user root)
  4. Edit /etc/exports and add the line(s) with the directories to export. In my case it is: 
    /jupiter   192.168.1.0/255.255.255.0(rw)
  5. Increase the security by adding the following to hosts.deny (check link NFS how to)
  6. And this to hosts.allow (check link NFS howto_

Now mount the file system on the client machine

Mission Statement

This blog is set-up by its authour (Gualtiero Chiaia) as a collection point for solution to be applied to a Linux machine, spanning different knowledge domains, like network, system admin, programming languages, programs and functionality.

My actual systems runs:

  • Linux distro: Open-Suse 12.1, 64 bit
  • Linux kernel: 3.1.10-1.16
  • Gui: KDE: 4.7.2, release 5
  • CPU: AMD Athlon(tm) II X2 215 Processor, 2 cores
  • Monitor: NVidia GT200 [GeForce 210]
Tags : ,