Aerospace



Home

Company Information

Information Request

Linux How-to Guides

ADSP 21xx
Digital Signal Processing
Tutorials

SW Utilities

On-line Order Form

Linux Support

Windows Support


Bonk

Have you found this site useful? Did we save you time? Did we cure your head-ache? Is your hair growing back now?

Please make a donation to help with maintenance.


Custom Search

NFS How-to Guide

For Mandriva Linux 2009


Scope

This is a brief guide on how to use NFS. It is really easy to set up. You only need one config line on the server and one config line on the client.

More information here: http://tldp.org/HOWTO/NFS-HOWTO/


Install

If NFS is not installed already, look for the packages rpcbind, nfs-common, nfs-server, nfs-utils and nfs-utils-clients. Those should be all you need to add.

Make sure the server is running:

# service rpcbind restart
# service nfs-server restart

Open the NFS port in the firewall.

...and fix any errors that may show up.


Setup

On the server in file /etc/exports add:

/home/whatever 192.168.1.0/24(root_squash,async,rw)

then restart the server:

# service nfs-server restart

On the client:

# mkdir /mnt/whatever
# mount -t nfs 192.168.1.1/home/whatever /mnt/whatever

Note that you should have the same UID and GID on the client and server, unless you use all-squash.


La Voila!



Copyright © 2005-2008, Aerospace Software Ltd., GPL.