How to create NFS Share on Linux for VMware LAB

How to create NFS Share on Linux for VMware LAB

I am using centos 5.5 Linux to create NFS share to map on VMware Datastores.

1- Create one directory to share  # mkdir /NAS

2- Give Read Write permission to create folders and files on share  #chmod  755  /NAS

3-Allow or stop the firewall to share to be accessible on VMwware ESX servers. #service iptables stop or add a rule to allow NFS Share

4-insert the share entry in /etc/exports file

5-add a line “/share name  hostname permission” for example  /NAS 192.168.1.0/24(rw)    192.168.1.0 is my VMware Management Network range so my all ESX server will be able to access   the NFS Share.

Read more