Softpanorama

Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
May the source be with you, but remember the KISS principle ;-)
Bigger doesn't imply better. Bigger often is a sign of obesity, of lost control, of overcomplexity, of cancerous cells

NFS on Windows

News Recommended Links Resource Kits Tutorials SFU NFS Implementation NFS Maestro Solo RFCs NFS performance tuning
share command dfshares Command dfstab File Mounting NFS Resources /etc/vfstab File AutoFS and automountd daemon NFS Security Nfsstat
NFS logging Troubleshooting Linux NFS   History Tips Humor Etc

There are at least five major options for NFS server support for Windows:

  1. Hummingbird (now OpenText)  -- Both client and server
  2. Microsoft Services for NFS (Windows server 2003 R2 and later) -- both client and server
  3. Free support for NFS3 is included in SFU 3.5. (SFU is discontinued, but still available for Windows XP) -- both client and server
  4. Free Cygwin NFS support -- both client and server
  5. uwin -- both client and server

As for NSF client support this is not  problem at least for Windows Enterprize and Ultimate (built-in). Unclear if it is available for Windows 7 Professional but still one can use Cygwin.

Hummingbird (now OpenText)  NFS implementation supports all the latest NFS technologies, including NFSv4, NFS over TCP and WebNFS. It is an expensive option ($200 or so; upgrade from the last three versions is ~ $130, so it make sense if you can get older version for $10 or $20.)  Among features


Top Visited
Switchboard
Latest
Past week
Past month

NEWS CONTENTS

Old News ;-)

[Aug 14, 2012] Windows 7 - Interoperability

As great as Windows 7 is (and I think it's pretty great), it should come as no surprise that many organizations are running or will run Windows 7 in a mixed environment. Because of this, Windows 7 is going to have to play nice with a variety of other environments, drivers, APIs and so on, from predecessors including various versions of Windows XP and Windows Vista to Linux, Unix and even the Mac OS X. With so many disparate operating systems, the issue of interoperability becomes extremely important, and you may be wondering what features Windows 7 has in order to support interoperability. So let's dig in and take a look.

Interoperability with Unix and Related Operating Systems

Like earlier releases of Windows, Client for Network File Systems (NFS) and Subsystem for Unix-based Applications (SUA) remain the primary components provided for interoperability with non-Windows operating systems. They allow both small and large enterprises to integrate their Windows systems with Unix-based systems. Client for NFS enables Windows computers to gain access to files on Unix-based computers. SUA provides a subsystem for compiling and running custom Unix-based applications and scripts on Windows computers. Also available are administration tools for managing Services for NFS on local and remote computers. As with Windows Vista, any or all of these features can be turned on or off using the Windows Features dialog box.

Once you've enabled Client for NFS and the related administrative tools, you can configure a computer to connect to Unix NFS shares that allow anonymous access. If you don't allow anonymous access, you must configure the computer to get Unix identity information from an existing User Name Mapping (UNM) server or configure one if it is not already available. At an elevated command prompt, enter nfsadmin client to determine what options Client for NFS is configured to use. Use the mount command, the NET USE command or the Map Network Drive feature to map a drive to a remote NFS share.

In Windows, security identifiers (SIDs) identify objects in the file system and elsewhere. In Unix, user identifiers (UIDs) and group identifiers (GIDs) identify objects in the file system and elsewhere. Whenever you work with Services for Unix, UNM is used for authentication. UNM authenticates incoming access requests and determines the effective UID and GID. To correlate Windows and Unix identities, UNM uses the Windows Security Accounts Manager (SAM) or Active Directory to identify Windows users and Unix password and group files or NIS domains to identify Unix users and groups.

There are two approaches to name mapping: simple and advanced. Simple Name Mapping automatically creates name maps for all users and groups who have the same name in your Windows and Unix environments. You can create simple name maps between Windows and Unix using the MapAdmin command with the AddDomainMap parameter. Before you use this command, copy the Unix password and group files to your computer, merge them and then filter out duplicates and any system accounts. You also can create simple name maps using Unix options in the GUI on the UNM server.

In contrast, you create advanced name maps by manually mapping Windows users and groups with their Unix counterparts. While it sounds complex, Unix options in the GUI on the UNM server make this process fairly easy and straightforward. First, you turn off Simple Name Mapping, and then you use the Advanced Maps options to manually map Windows users and groups to Unix users and groups.

For Windows 7, Microsoft made several enhancements to Client for NFS and SUA. Most of these enhancements are bug fixes that provide a better integration solution with fewer problems. Because Windows 7 is best used with Windows Server 2008 R2, it is important to know how R2 supports Services for NFS. In R2, Services for NFS supports net groups so you can create network-wide named groups of hosts and RPCSEC_GSS for enhanced security with Remote Procedure Calls. Generic Security Service Application Programming Interface (GSS-API) allows Services for NFS to use Kerberos version 5 for authentication and integrity checking.

NFS Authentication can be configured to use Kerberos v5 authentication (KRB5) or Kerberos v5 integrity checking and authentication (KRB5i). It is important to note that if you use NFS versions 2 or 3 and KRB5i, you will be unable to mount shares over the User Datagram Protocol (UDP). To use KRB5i integrity checking, you must configure the NFS client and server to use the TCP protocol. With KRB5, you can configure the client and server to use either TCP or UDP.

As far as Mac OS X goes, like Windows Server 2008, Windows Server 2008 R2 does not include Services for Macintosh. That's not necessarily a bad thing, as Mac OS X is built on Unix and includes an NFS client. You can use the NFS client to connect to NFS shares.

HOWTO Mount NFS shares under Windows 7

Sage Hacks

UNIX and Linux users have long been accustomed to networking over NFS, or Network File System. It's been around for a quarter of a century, was made popular by SunOS, and if you can stomach it's myriad security flaws, it's always been the quickest, dirtiest way to share files between disparate systems. With the upcoming Windows 7, Microsoft has (finally!) deemed it neccesary to provide proper NFS client support (and requisite MMC snap-in) to consumer Windows.

First, set up NFS exports on the server- in my case a Ubuntu desktop. An /etc/exports file may look like this:

/home 192.168.1.0/24 (rw, async, insecure) 
/opt 192.168.1.2 (rw, async, insecure) 
/usr/share *.op.us (ro, insecure) 

That's it -- three fields. The filesystem branch to export, names of allowed hosts (as IP address, netmask, or hostname, with wildcards if that makes your life easier), and whatever options you need to provide. The "insecure" option allows requests from ports above 1024. In the *nix world, only root can bind to a secure port. The 'async' option tells NFS to place a higher priority on client responses than to writing out to local disks, the result being improved performance with an increased risk of data loss. There are many more options- consult the manpages or this guide to NFS on Linux.

On the Windows side, you mount an NFS export much like any other network share, by issuing a command such as

mount [options] //nfs-server-unc-name/share-name [drive letter]

This is assuming, of course, that you've installed Client Services for NFS under Windows. NFS support is one of those optional packages that is available via the Add/Remove Software wizard in the Control Panel.

Once mounted, your Linux shares will appear as any other drive in Windows:

Perhaps best of all, by right-clicking on the share's drive icon and selecting 'Add to library…', your NFS shares can be rolled into a library (libraries were discussed in this previous post) for sharing across Windows 7 homegroups.

Repurposing old, low-end hardware (running Linux) as a personal file server just got a lot easier.

Does Windows 7 Support connecting to NFS servers.

March 22, 2010

Dzikiewicz

I have Windows 7 Professional 32bit installed. I am trying to connect to a NFS file share on a Solaris System. I cant find the NFS Client on my machine. I went to add windows components and I don't see it there as an option. I was told by someone that they have 'enterprise' version and the NFS client is there. So I am thinking that I dont have the right version. I dont even see enterprise listed in the product comparisions. Is there actually an enterprise version ? If so, can professional be upgraded ? If none of this is true, then how would I go about getting the NFS client up and running ?

...

I think there should be no workaround on Windows 7 Professional Edition currently. To make it work, you can upgrade the current edition to Enterprise or Ultimate with Windows Anytime Upgrade:

Windows Anytime Upgrade

In addition, I would like to share the following with you for your reference:

NFS and SUA in Windows 7

Thanks.

===

Nicholas Li - MSFT

Hi Dzikiewicz,

There is an Enterprise version of Windows 7. It's very similar to Ultimate but is based on volume licensing (for businesses).

My understanding is that you do not need Enterprise (or Ultimate) for NFS shares to work correctly. Have a look at this TechNet thread and pay attention to Paul's response:

http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/59f44197-8c08-4cfc-a045-61e7f60152aa

Let me know if that helps!

Nicholas Li's

Hi,

Thank you for your kind reminder.

It should be this one:

Dose Windows 7 Support connecting to NFS servers

Meanwhile, I have done some research; however, I think there should be no workaround on Windows 7 Professional Edition currently. To make it work, you can upgrade the current edition to Enterprise or Ultimate with Windows Anytime Upgrade:

Windows Anytime Upgrade

In addition, I would like to share the following with you for your reference:

NFS and SUA in Windows 7

Thanks.

Nicholas Li - MSFT

IncredibleStorm's

For all of you that are too young to remember, services for VARIOUS networking systems have been part of microsoft's OS's for a VERY long time.

Cody: I really want to ask if that's the party line on the matter. Microsoft supported a Novell client, and a plethora(sp) of network SERVICES for UNIX. I remember an NFS client being there previously, if I'm not mistaken.

I don't want to run out and grab some virus laden software to patch this gap.

Maybe I just haven't gone to all the google hits yet, but man........this is Microsoft's q&a. You can't tell me it's a hard question to answer.

Lemme make the question easier....

Does Microsoft offer a native client for NFS, out of the box, with Windows 7 ?

It's a yes or no question.

IncredibleStorm@yahoo.com

[Aug 14, 2009] Microsoft Finances Open Source NFS v4 for Windows

Apr 23, 2009

"Microsoft has forged a deal with a University of Michigan research unit to create an open-source version of the NFS version 4 protocol that will work with Windows. Microsoft already offers NFS support in Windows client and server, but for Version 3 only."


Recommended Links



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2018 by Dr. Nikolai Bezroukov. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) in the author free time and without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to make a contribution, supporting development of this site and speed up access. In case softpanorama.org is down you can use the at softpanorama.info

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.

The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: September 12, 2017