I am trying to connect NFS datastore from the ESX server. I downloaded FreeNAS from its website and followed the instrustions and configured the NFS. Now if i try to connect to NAS datastore it gives me error.Please suggest what to do.
Hello,
What is the error that you get?
Did you create a NFS vmkernel portgroup?
Did you give the NFS vmkernel portgroup an IP address in a subnet not used by other VMkernel devices (vMotion, iSCSI)?
does 'vmkping NFSServer' work from the CLI?
does 'vmkping NFSVMkernelAddress' work from the CLI?
Is the NFS server using atleast NFSv3 over TCP? NFS normally uses UDP so FreeNAS needs to be told to use TCP if its not already.
Did you add 'no_root_squash' to your NFS server to allow root to show up as root?
Can you ping the NFS vmkernel portgroup from the NFS Server?
How did you specify the mount point protections within the NFS Server: by IP Address, by Name? Check the FreeNAS NFS logs to make sure you are allowing the proper name/ip.
Standard debugging for NFS issues.
Best regards,
Edward L. Haletky
VMware Communities User Moderator
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education. As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization
I have configured the VMkernel port and the NFS server is able to ping the ESX server and vice versa. How can i check if FreeNAS has to use TCP.
How can i add 'no_root_squash' to the NFS server to allow root to show up as root.Can you explain in details like wat to do. As i am frustrated in establishing my test Lab.
As you can see i am a Novice in Vmware please help.:p
Rabz
-
Edit the /etc/exports file on your server and make sure to add the mount option of no_root_squash along with rw when configuring your share. (rw,no_root_squash)
Hello,
FreeNAS uses FreeBSD as an OS, but has a WebGUI for it. I would run through the help for FreeNAS. Or you can login as root and do as kjb007 suggests. The settings for FreeNAS are independent of ESX. Unfortunately, I have not used FreeNAS much.
Best regards,
Edward L. Haletky
VMware Communities User Moderator
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education. As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization