Cannot Connect windows server 2008 R2 NFS with vmware vsphere 4.0

NSF folder and setting has been set. but everytome i tried to connect the NAs it always gives me this error msg. "error during the configuration of the hosts: NFS error: unable to mount the filesystem: unable to query remote mount point's attribute" pls help
ImanskiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
First troubleshooting tip

can you ping the NFS server from the console of the ESX server using vmkping?
ImanskiAuthor Commented:
hanccocka:

yes i can ping the NFS server using vmkping
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Can you upload a screen shot of your NFS share and configuration on the Windows 2008 R2 server.
Ensure Business Longevity with As-A-Service

Using the as-a-service approach for your business model allows you to grow your revenue stream with new practice areas, without forcing you to part ways with existing clients just because they don’t fit the mold of your new service offerings.

ImanskiAuthor Commented:
hanccocka:

i use this guide as reference. nearly the same configuration.

http://xtravirt.com/nfs-storage-configuration-for-vsphere-using-windows-2008
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
did you follow that article, because it's not necessary in Windows 2008 R2!

You do not need to use User Mapping
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
do you have the firewall enabled in the WIndows 2008 R2 server?

What version of vSphere 4.0, ESX or ESXi?
ImanskiAuthor Commented:

Yeah i just found out that they ve taken out user mapping in windows 2008 R2. Hmm i think the firewall is still enabled. Let me try and turn that off. Btw, I am using vsphere 4.0 esx.
ImanskiAuthor Commented:
I have turned off the firewall on windows 2008 but the same error still popped.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
You don't need to use user mapping.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
please post screen shot of the NFS share configuration on Win2k8 R2
ImanskiAuthor Commented:
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Sorry, I must have missed these screenshots, I was going to re-visit this question this evening.

I'm just in the lab now to check this setup.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Okay, I've checked this, and had it working in 60 seconds.

The issue here is as follows:-

1. Un-tick Kereros v5 integegrity and authentication.
2. Un-tick Kerberos v5 authentication.
3. Tick No Server authentication.
4. Tick Enable unmapped user access.
5. Tick Allow unmapped user Unix access.

Check my video here
Creating an NFS Server using Windows 2008 R2 for VMware vSphere ESX/ESXi 4.1

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
ImanskiAuthor Commented:
I did what u asked. when i try to add storage to esx server on virtual center it gave me this error:
'error during the configuration of the host. unable to get console path for mount'
When i try to connect it manually from command console using this command: mount Ip address:/ISO /mnt
it gave me this error 'mount.nfs: operation not permitted'

These are the error before i made changes. on virtual center: "error during the configuration of the hosts: NFS error: unable to mount the filesystem: unable to query remote mount point's attribute"
on command console: 'mount.nfs: permission denied.

The weird thing is i got it working yesterday. i have connected the sahred folder as datastore, but after i remove the datastore and  deleted the shared folder and create another shared folder it wouldn't let me.

i am out of ideas. pls help :)
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Well, that video is how I've configured Windows 2008 R2 for vSphere many times and it works with no issue.

I've got another video here, of Connecting vSphere 4.0 to the NFS Server.

This shows how to connect to the NFS datastore, I would start again, and watch the videos step by step. If it still doesn't work, it's network, firewall, VMKernel interface. Watch the sharename it must be exact, and case sensitive. Don't use User Mapping, it's not required as you can see from my demonstrations, if I was allowed to Remote Control and WebEx I would set this up, as per the videos, but not allowed under EE rules, so this is the best I can do to supply you with videos of how to setup it up.

Check sharenames/export names and VMKernel interface is on the correct LAN, vSwitch.
ImanskiAuthor Commented:
So i dont need to install the identity management for unix and creating unix user group?
and also do i need to install active directory on the server or just join the server to domain?

is there any setting on the esx server that i need to know? i have start the portmap and nfs service on my setup.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
No Indenity Management is required, or domain, or active directory.

Please follow the videos I've posted and made for you.

Other than follow the steps in ESX, adding VMKernel, adding datastore nio special steps.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ImanskiAuthor Commented:
Ok i will try and reinstall the server again from the start and follow your videos. will keep u posted
ImanskiAuthor Commented:
Thank you so much for your help. I wish i could change the points to 500. Thanks again for the video guides very helpful.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
I'm glad the videos have helped you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.