Freigeben über


NFS and SUA in Windows 7

NFS and SUA in Windows 7

Finally, the Windows 7 beta is released to the public and we can now experience it ourselves. The PSS people in Microsoft are always excited to try their hands on the latest betas and Windows 7 is not an exception.

The first thing that we did, after exploring the new GUI experience, was to add Client for NFS and Subsystem for UNIX-based Applications (SUA) components. The addition is completely alike Windows Vista so no surprises here but it was much faster than Vista. The management is also the same with almost no visible difference.

But, things are really better underneath – there have been a lot of bug-fixes in both – Client for NFS and SUA – both.

On the NFS front, the User Name Mapping support (not the UNM component itself – like Vista) is there. Perhaps, the biggest change to notice is newly added support for KRB5/KRB5i security mode to come up to the mark with latest technologies available. More information is not available on this as of now and I will post new information as soon as it is available.

On SUA front, there are talks of a lot of improvement in terms of bug fixes. The SDK for Win7 is not released as of now and we expect it to be available only during Win7 RC phase.

Comments

  • Anonymous
    January 23, 2009
    PingBack from http://blog.a-foton.ru/index.php/2009/01/23/nfs-and-sua-in-windows-7/

  • Anonymous
    April 15, 2009
    Will the Windows 7 NFS client support NFS version 4?  If so, please provide some information on that. Thanks - great blog! JK

  • Anonymous
    June 23, 2009
    Unfortunately, NFS v4 is has not made it yet. I believe the target should be the next version of Windows.

  • Ashish
  • Anonymous
    June 26, 2009
    The comment has been removed

  • Anonymous
    June 27, 2009
    Which versions of Win7 will SFU run on?

  • Anonymous
    July 07, 2009
    Did you check the UseReservedPorts setting to see if that may be causing this problem?

  • Ashish
  • Anonymous
    July 07, 2009
    Win 7 Ultimate and Enterprise will get NFS but Professional will not. Seems like sufficient information was not present to make it happen.
  • Ashish
  • Anonymous
    August 29, 2009
    I am running Win7 Enterprise RTM and somehow have managed to create a couple of phantom mounts. That is, at some point while i was configuing/playing with nfs I tried to mount server:/albums/music but the server is not exporting that share. now, every time i turn on the nfs client on my win7 system it persistently tries to mount that share, forever and ever. I've tried 'umount -a -f', searched through the registry for where the share info is kept, but no joy. How do I remove these phantom entries, and/or where is the mount information kept? Thanks

  • Anonymous
    August 31, 2009
    You will find refenrence here - HKEY_CURRENT_USERSoftwareMicrosoftClientForNFSCurrentVersionPersistent

  • Anonymous
    August 31, 2009
    Ashish, thanks for the pointer. Unfortunately, there are no persistent mounts located there, either for me or for any other user on the system (I checked them all). When i did 'net start nfsclnt' the mount requests to the linux system started within a couple of minutes. The only way I've found to disable them is to stop the nfsclnt service. I've also search the whole registry for the name (/music/albums), but have not found it anywhere. I appreciate your help with this....ideas, hints, or suggestions all welcome!

  • Anonymous
    September 01, 2009
    In that case, I guess, Process Monitor can help. Take a log and see if there are any references that you can pick up. If that doesn't help, use the Email above and send me an email.

  • Ashish
  • Anonymous
    September 02, 2009
    Thanks for the reminder about using Process Monitor (should have thought of that before...sigh!). Looks like the WMPNetworkSvc service is the culprit. I stopped the service and the attempted mount requests all stopped. Pshew! Since I don't need this service, it's off for now, and at some point, if I ever give up on my linux-based media streamer, I'll sort out why WMPNetworkSvc insists on trying via NFS and figure out how to stop it.

  • Anonymous
    September 04, 2009
    I seem to remember there is a setting somewhere that determines whether NFS or CIFS is used first when trying to access a UNC path ("\servershare").  Something like "Network Provider Order"?

  • Anonymous
    September 04, 2009
    Here's how you can change it -

  1. In the Run... dialog, type "ncpa.cpl" and press Enter
  2. Highlight "Local Area Connection"
  3. Press the ALT key and click on the menu bar item "Advanced," "Advanced Settings"
  4. Click on the "Provider Order" Tab
  • Ashish
  • Anonymous
    October 12, 2009
    It's terrible that I'm forced to run Windows Server in order to gain, afaik, the simple mapping of names / groups that SFU provided. If this is not true, please explain, otherwise, this is just a nice ploy by MS to finall be done with one more piece of Un*x -> MS interoperability.

  • Anonymous
    October 21, 2009
    I suppose it's abouy missing UNM piece in Vista/Win 7. You can now use ADAM for this purpose, if that's absolutely necessary. Take a look at these posts - http://blogs.msdn.com/sfu/archive/2009/03/27/can-i-set-up-user-name-mapping-in-windows-vista.aspx http://blogs.msdn.com/sfu/archive/2009/07/10/ad-lookup-with-adam-adlds.aspx

  • Anonymous
    January 05, 2010
    Is there any way to download/install Services for NFS Client for Windows 7 Pro?

  • Anonymous
    January 05, 2010
    Unfortunately, No. You need to run Ultimate or Enterprise SKU for a client. You can otherwise look for a 3rd party NFS client.

  • Anonymous
    September 16, 2010
    The comment has been removed

  • Anonymous
    September 16, 2010
    @Brad - Windows 7 doesn't support PCNFS. It's time you should move to User name mapping. That would make is simpler to manage and you already have the file that you can use to configure UNM.

  • Anonymous
    April 10, 2011
    I'm using Windows 7 Ultimate and it's native client. 2 problems I've noticed so far:

  1. utf8 is not supported by the client, but I solved this by convmvfs at the server (not really illegant solution, kinda workaround)
  2. reconnect NFS-shares after reboot - this one is not working for me. windows gives me an error that this path is not valid or can't reconnect it. any chance for looking at 2nd issue, maybe kinda script with mount commands to remount them? I'm not really that good in the scripting, that's why asking here..
  • Anonymous
    April 11, 2011
    @win7-nfs-tester - can you try this and let me know if that serves the purpose? - mklink /D C:NFSShare \NfsServerNfsShare Not exactly what you asked but I think it could prove useful.