Поделиться через


Network File System Overview

 

Applies To: Windows Server 2012 R2, Windows Server 2012

This topic describes the Network File System role service and features that are included with the File and Storage Services server role in Windows Server 2012 R2 and Windows Server 2012. Network File System (NFS) provides a file sharing solution for enterprises that have heterogeneous environments that consist of both Windows and non-Windows computers.

Did you mean…

Feature description

Using the NFS protocol, you can transfer files between computers running Windows and other non-Windows operating systems, such as Linux or UNIX.

In Windows Server 2012, NFS includes the components, Server for NFS and Client for NFS. Server for NFS enables a computer running Windows Server 2012 to act as a NFS file server for other non-Windows client computers. Client for NFS enables a Windows-based computer that is running Windows Server 2012 to access files that are stored on a non-Windows NFS server.

Practical applications

Some practical applications for NFS include:

  • Use a Windows NFS file server to provide multi-protocol access to the same file share over both the SMB and NFS protocols from multi-platform clients.

  • Deploy a Windows NFS file server in a predominantly non-Windows operating system environment to provide access to NFS file shares for non-Windows client computers.

  • Migrate applications from one operating system to another by storing the data on file shares that are accessible by both SMB and NFS protocols.

New and changed functionality

New and changed functionality in Network File System includes support for the NFS version 4.1 and easier deployment and manageability. For information about functionality that is new or changed in Windows Server 2012, review the following table:

Feature/functionality

New or updated

Description

NFS version 4.1

New

Increases security, performance, and interoperability over NFS version 3.

NFS infrastructure

Updated

Provides easier deployment and manageability, and increases security.

NFS version 3 continuous availability

Updated

Improves continuous availability on NFS version 3 clients.

Deployment and manageability improvements

Updated

Enables you to easily deploy and manage NFS using new Windows PowerShell cmdlets and a new WMI provider.

NFS version 4.1

NFS version 4.1 implements all of the required aspects, in addition to some of the optional aspects, of RFC 5661:

  • Pseudo file system. This file system includes a separation of the physical and logical namespace and is compatible with NFS version 3 and NFS version 2. An alias is provided for the exported file system, which is part of the pseudo file system.

  • Compound RPCs. Combines relevant operations and reduces chattiness.

  • Sessions and session trunking. Enables just one semantic and allows continuous availability and better performance while utilizing multiple networks between NFS 4.1 clients and the NFS Server.

NFS infrastructure

Improvements to the overall NFS infrastructure in Windows Server 2012 are detailed below:

  • Remote Procedure Call (RPC)/External Data Representation (XDR). The RPC/XDR transport infrastructure is powered by the WinSock network protocol and is available for both Server for NFS and Client for NFS. This replaces Transport Device Interface (TDI), offers better support, and provides better scalability and Receive Side Scaling (RSS).

  • RPC port multiplexer. This feature is firewall-friendly (less ports to manage) and simplifies deployment of NFS.

  • Auto-tuned caches and thread pools. The resource management capability of the new RPC/XDR infrastructure is dynamic and automatically tunes the cache and thread pools based on the workload. This completely removes the guesswork involved when tuning parameters, and therefore, provides optimal performance as soon as NFS is deployed.

  • New Kerberos privacy implementation and authentication options. NFS deployments are more secure with the addition of Kerberos privacy (Krb5p) support along with the existing krb5 and krb5i authentication options.

  • Identity Mapping Windows PowerShell module. These new cmdlets make it easier to manage identity mapping, configure Active Directory Lightweight Directory Services (AD LDS), and set up UNIX and Linux passwd and flat files.

  • Volume mount point. Volumes mounted under an NFS share can be accessed using NFS version 4.1.

  • Port Multiplexing. This feature supports the RPC port multiplexer (port 2049), which is firewall-friendly and simplifies deployment of NFS.

NFS version 3 continuous availability

NFS version 3 clients can have fast and transparent planned failovers with more availability and reduced downtime. The failover process is faster for NFS version 3 clients because:

  • The clustering infrastructure now allows one resource per network name instead of one resource per share. This significantly improves the failover time of resources.

  • Failover paths within an NFS server are tuned for better performance.

  • Wildcard registration in an NFS server is no longer required, and the failovers are more fine-tuned.

  • Network Status Monitor (NSM) notifications are sent out after a failover process and clients no longer need to wait for TCP timeouts to reconnect to the server that failed over.

Note that Server for NFS supports transparent failover only when manually initiated, typically during planned maintenance. If an unplanned failover occurs, NFS clients lose their connections. It's also worth mentioning that Server for NFS doesn't have any integration with the Resume Key filter. This means that if a local app or SMB session attempts to access the same file that an NFS client is accessing immediately after a planned failover, the NFS client might lose its connections (transparent failover wouldn't succeed).

Deployment and manageability improvements

Deploying and managing NFS has improved in the following ways:

  • Over forty new Windows PowerShell cmdlets make it easier to configure and manage NFS file shares. For more information, see NFS Cmdlets in Windows PowerShell.

  • Identity mapping is improved with a local flat file mapping store and with new Windows PowerShell cmdlets available to configure identity mapping.

  • The Server Manager graphical user interface is easier to use.

  • The new WMI version 2 provider is available for easier management.

  • The RPC port multiplexer (port 2049) is firewall-friendly and simplifies deployment of NFS.

Server Manager information

In Server Manager, use the Add Roles and Features Wizard to add the Server for NFS role service (under the File and iSCSI Services role). For general information about installing features, see Install or Uninstall Roles, Role Services, or Features. Tools for Server for NFS include the Services for Network File System MMC snap-in to manage the Server for NFS and Client for NFS components. Using the snap-in, you can manage the Server for NFS components that are installed on the computer. Server for NFS also contains several Windows command-line administration tools:

  • Mount. Mounts a remote NFS share (also known as an export) locally and maps it to a local drive letter on the Windows client computer.

  • Nfsadmin. Manages configuration settings of the Server for NFS and Client for NFS components.

  • Nfsshare. Configures NFS share settings for folders that are shared using Server for NFS.

  • Nfsstat. Displays or resets statistics of calls received by Server for NFS.

  • Showmount. Displays mounted file systems exported by Server for NFS.

  • Umount. Removes NFS-mounted drives.

NFS in Windows Server 2012 introduces the NFS module for Windows PowerShell with several new cmdlets specifically for NFS. These cmdlets provide an easy way to automate NFS management tasks. For more information, see NFS Cmdlets in Windows PowerShell.

See also

The following table provides additional resources for evaluating NFS.

Content type

References

Deployment

Deploy Network File System

Operations

NFS Cmdlets in Windows PowerShell

Related technologies

File and Storage Services Overview