NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

Windows Services for UNIX NFS mount gets UID -2 - need ROOT

fletch2007
12,150 Views

Hi,

we use Windows Services for UNIX (WSFU) to NFS mount our netapp .snapshots to windows hosts (to use a great little util http://www.ufsexplorer.com/ to mount VMDKs and restore guest files - highly recommend it)

Problem comes when some of the vmdk files are readable only by root - UFS explorer can not mount these via the NFS because WSFU mounting by default with an effective UID of -2 (see screenshot of NFS mount properties)

The volume is shared on the Netapp side with this host's IP in the ROOT acl (as we do for Unix NFS clients) - but this is not translating to a root UID on the windows client.

Can anyone offer guidance how to tune WSFU to obtain UID root instead of -2?

thanks in advance,

Will summarize,

http://vmadmin.info

2 REPLIES 2

aborzenkov
12,149 Views

UID -2 means user is not mapped (IIRC). You need to setup WSFU user mapping service and map some Windows user to root; the you will be able to mount share on behalf of this user as root.

See e.g. http://technet.microsoft.com/en-us/library/bb463203.aspx

fletch2007
12,149 Views

Thanks, it turns out SFU has a method to assign these mappings !

I successfully mapped root and solved the issue

thanks

http://vmadmin.info

Public