VMware Cloud Community
philbas
Contributor
Contributor
Jump to solution

Windows 2008 server NFS - Permission Denied when accessing the NFS DataStore

Hi,

I try to configure a Windows 2008 server to store VMs on a NFS share.

When I add the Datastore to my host, I don't specifie Read-only and the datastore is succefully added.

When I browse the datastore, as soon as I try to delete a file or create a folder, I have a error messages : "cannot delete" or "cannot complete file creation operation"

It's seems this is a problem of NFS rights, but impossible to find what's wrong.

In the /var/log/vmkernel, I see :

Mar 23 17:43:07 vmw-esx1 vmkernel: 1:02:37:20.635 cpu4:4109)NFSLock: 2677: failed to get lock on file New Text Document.txt 0x4100070384d0 on circe (10.254.0.19): Permission denied

Don't you have a howto use NFS with Windows 2008 to help me? I have found one for Windows 2003, but thinks are too differents.

Or another idee?

See attached document with the NFS Share settings.

Philippe

Tags (4)
Reply
0 Kudos
1 Solution

Accepted Solutions
joshuatownsend
Enthusiast
Enthusiast
Jump to solution

You have to set up User Name Mapping in the Services for UNIX/NFS and map the root user. Detailed instructions here: http://www.sohoadvisers.com/tutorials/vmware-esxi/connect-esxi-to-windows-nfs. I was able to set up some hosts to use my Windows NFS export, but was a bit unreliable. This is an unsupported configuration with VMware....

Josh

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".

Please visit http://vmtoday.com for News, Views and Virtualization How-To's

Follow me on Twitter - @joshuatownsend

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Please visit http://vmtoday.com for News, Views and Virtualization How-To's Follow me on Twitter - @joshuatownsend

View solution in original post

Reply
0 Kudos
3 Replies
joshuatownsend
Enthusiast
Enthusiast
Jump to solution

You have to set up User Name Mapping in the Services for UNIX/NFS and map the root user. Detailed instructions here: http://www.sohoadvisers.com/tutorials/vmware-esxi/connect-esxi-to-windows-nfs. I was able to set up some hosts to use my Windows NFS export, but was a bit unreliable. This is an unsupported configuration with VMware....

Josh

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".

Please visit http://vmtoday.com for News, Views and Virtualization How-To's

Follow me on Twitter - @joshuatownsend

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Please visit http://vmtoday.com for News, Views and Virtualization How-To's Follow me on Twitter - @joshuatownsend
Reply
0 Kudos
dragooner
Enthusiast
Enthusiast
Jump to solution

Because of some security needs U maybe disabled the anonymous access, when U config your 2008 NFS.

If you are just in your test environment, U can enable the anonymous access,then it will work.

BTW: U must have enough patience to wait the configuration effectivity.

philbas
Contributor
Contributor
Jump to solution

Thanks guys, you're right!

I have to install Services for Unix 3.5 on a Windows Server (User Name Mapping service only).

Philippe

Reply
0 Kudos