NFS (Network File Server)

How to Create a Network File Server(NFS) in Linux

Package Required : nfs-utils, portmap

Demons : rpc.nfsd, rpc.locked, rpciod, rpc.mounted, rpc.statd

Config File : \etc\exports

Now make a Share Directory in the Network File Server

e.g. mkdir /dump

Now Copy the Contents of the Disk1 exactly to /dump

and Copy all the contents of the Disk2,Disk3,Disk4 under /dump/Redhat/RPMS/*

Now edit the /etc/exports file

vi /etc/exports

add the following line

/dump *(ro,sync)

Save the file and restart the service

service nfs start

service nfs restart

Thats all....