Link to home
Start Free TrialLog in
Avatar of Imanski
ImanskiFlag for Afghanistan

asked on

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
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

First troubleshooting tip

can you ping the NFS server from the console of the ESX server using vmkping?
Avatar of Imanski

ASKER

hanccocka:

yes i can ping the NFS server using vmkping
Can you upload a screen shot of your NFS share and configuration on the Windows 2008 R2 server.
Avatar of Imanski

ASKER

hanccocka:

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

http://xtravirt.com/nfs-storage-configuration-for-vsphere-using-windows-2008
did you follow that article, because it's not necessary in Windows 2008 R2!

You do not need to use User Mapping
do you have the firewall enabled in the WIndows 2008 R2 server?

What version of vSphere 4.0, ESX or ESXi?
Avatar of Imanski

ASKER


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.
Avatar of Imanski

ASKER

I have turned off the firewall on windows 2008 but the same error still popped.
please post screen shot of the NFS share configuration on Win2k8 R2
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.
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

Avatar of Imanski

ASKER

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 :)
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.
Avatar of Imanski

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Imanski

ASKER

Ok i will try and reinstall the server again from the start and follow your videos. will keep u posted
Avatar of Imanski

ASKER

Thank you so much for your help. I wish i could change the points to 500. Thanks again for the video guides very helpful.