Linux :setting up NFS shares

On server:

vi /etc/exports

add:

/home/data 192.168.170.0/255.255.255.0(rw)

# chkconfig nfsd on
# service nfsd start


On Client:

#mkdir /home/data

#mount -t nfs 192.168.170.1:/home/data /home/data

Make it automount:

#vi /etc/fstab

192.168.170.1:/home /home nfs rw,bg,hard,intr 0 0

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.