NFS Server version and operations

Source: Internet
Author: User

The use of NFS Server has promoted the development of the network in many aspects. At present, there are many versions of NFS Server. We will introduce this aspect and introduce the specific operations and settings of the CLIENT and SERVER.

I. Main differences between NFS Server protocol versions

Major differences between V3 and V2:

1. File Size

V2 supports up to 32-bit file sizes (4 GB), while NFS V3 supports 64-bit file sizes.

2. File Transfer size

V3 does not have a limited transmission size. V2 can only be set to 8 KB at most. You can use-rsize and-wsize to set it.

3. complete information is returned

V3 has added and improved the return of many errors and successful information, which brings great benefits to server settings and management.

4. Added support for TCP transmission protocol

V2 only provides support for the UDP protocol, which has great limitations in some demanding network environments. V3 has added support for the TCP protocol.

5. asynchronous writing

6. Improved the mount performance of the NFS Server.

7. Better I/O WRITES performance.

9. Enhanced network operation efficiency, making network operation more effective.

10. Better disaster recovery functions.

Introduction to asynchronous write feature v3:

Whether NFSV3 can be written asynchronously is an optional feature. the NFS V3 client sends an asynchronous write request to the server. before replying to the client, the server does not have to write data to the memory stably ). the server can determine when to write data or aggregate and process multiple write requests, and then write data. the client can maintain a copy of the data, in case the server cannot completely write the data. when the client wants to release this copy, it will pass this operation process to the server to ensure that each operation step is complete. asynchronous writing allows the server to determine the best data synchronization policy. how can data be submitted synchronously as much as possible. compared with V2, this mechanism can better achieve data buffering and more parallel balances ). the NFS V2 SERVER cannot write data to the memory before writing data.

V4 compared with V3:

1: improved access and execution efficiency on the INTERNET

2: enhanced security features in protocols

3: enhanced cross-platform features

II. Specific operations and settings of the CLIENT and SERVER

Before talking about the operation of NFS Server, let's look at some things related to NFS Server:

RPCRemote Procedure Call)

NFS itself does not provide information transmission protocols and functions, but NFS allows us to share data over the network, because NFS uses some other transmission protocols. these Transport Protocol warriors use this RPC function. NFS itself is a program that uses RPC. or NFS is also an rpc server. therefore, you only need to start the RPC service wherever NFS is used, whether it is NFS Server or nfs client. in this way, the SERVER and CLIENT can implement the corresponding program port through RPC. we can understand the relationship between RPC and NFS in this way: NFS is a file system, while RPC is responsible for information transmission.

DAEMONS to be started for NFS

Pc. nfsd: Mainly used for complex login permission detection.

Rpc. mountd: Responsible for the NFS file system. When the CLIENT logs on to the SERVER through rpc. nfsd, it manages the files accessed by clinet.

NFS Server requires two packages on the redhat linux platform: nfs-utils and PORTMAP.

Nfs-utils: provides two nfs daemons suites: rpc. nfsd and rpc. mountd.

Portmap: NFS can be regarded as an rpc server program. to start an rpc server program, you must do the corresponding work of the PORT, and such a task is completed by PORTMAP. in general, PortMap is used for PORT mapping.
 

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.