Features and functions of NFS V4

Source: Internet
Author: User

With the development of the Network, some of its protocols have also been updated in many versions. Here we will mainly explain the problem of NFS V4. In V4, what functions and features does NFS have? Next we will discuss it in detail. NFS is a distributed file system that allows users to access shared files on a remote computer over a network just like accessing a local file system. in versions earlier than AIX 5.3, the AIX operating system supports NFS Version 2 and NFS Version 3. since AIX 5.3, the AIX operating system supports NFS versions 2, 3, and 4. NFS V4 has the following new features:

◆ Enhanced security features. Support for RPCSEC-GSS and use Identity Mapping to access remote domains.

◆ The file lock function is implemented in the NFS core protocol. rpc. lockd, rpc. statd and rpc. mountd will no longer be used in NFS V4 (but they still exist in the AIX operating system to support clients using NFS V2 and NFS V3 ). this implementation also makes it easier to configure a firewall for the NFS server.

◆ NFS V4 only supports the TCP protocol. UDP Protocol cannot be used for NFS V4.

◆ NFS V4 can be combined with the JFS2 file system to support the ACL (Access Control List) function. The ACL in NFS V4 will support the inheritance function.

The following describes these new functions in detail.

1. Identity Authentication Based on RPCSEC-GSS RPC

NFS V4 can improve Protocol Security by configuring to use RPCSEC-GSS RPC authentication. the use of RPCSEC-GSS RPC is not required, and the previous authentication method (AUTH_SYS) can also be used with NFS V4. RPCSEC-GSS RPC is based on a GSS-API that allows multiple security means to be used without installing new RPC security methods.

In addition to identity authentication, this security mechanism also provides optional and multiple data protection measures, such as data integrity and privacy. RPCSEC-GSS services are responsible for specifying the level of data protection. NFS V4 requires the client and server to negotiate the authentication method and data protection level.

Ii. File Locking

In the NFS V4 protocol, the file lock implementation is very different from the previous NFS protocol. the RPC operation that locks files is moved from the separation protocol to the core protocol. independent Network lock manager (NLM) and corresponding rpc. lockd, rpc. statd is no longer required in NFS V4. however, they still exist in the AIX 5.3 operating system to serve NFS clients of previous versions. in addition, the previous NFS protocol was "stateless", while the NFS V4 protocol was "stateful.

Iii. File Access Control List support

The NFS V4 Protocol defines templates and data types for the access control list, and supports passing the RPC operation of the access control list between the client and the server. the access control list defined in NFS V4 is very similar to the access control list defined in the PC environment. the NFS V4 client and server of AIX 5.3 support the access control list.

1. NFS V4 Server

When AIX 5.3 is used as an NFS server, it supports multiple clients at the same time, including those running the AIX operating system or other operating systems. AIX 5.3 can respond to Access Control List Operation requests from clients, including querying and setting access control lists for underlying file systems. these operation requests are completed correctly only when the underlying file system supports the NFS V4 access control list. in AIX 5.3, the JFS2 file system supports the NFS V4 Access Control List operation.

2. NFS V4 Client

When AIX 5.3 is used as an NFS client, if the NFS server supports the NFS V4 Access Control List, AIX 5.3 can initiate a request to query and modify the access control list.

4. New NFS Processes

1. nfsrgyd: nfsrgyd is responsible for Name Translation between the NFS server and the client. It must run on the server and client to use NFS V4.

2. gssd: Provides GSS-based security services. To use the GSS security method, this service must run.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.