📜  NFS |网络文件系统

📅  最后修改于: 2020-11-10 06:07:59             🧑  作者: Mango

NFS

NFS是网络文件系统的缩写。它是分布式文件系统的协议。该协议由Sun Microsystems在1984年开发。

它是客户机/服务器的体系结构,其中包含客户机程序,服务器程序以及有助于客户机与服务器之间通信的协议。

该协议允许用户通过网络远程访问数据和文件。任何用户都可以轻松实现NFS协议,因为它是一个开放标准。任何用户都可以像处理其他协议一样操作文件。该协议也建立在ONC RPC系统上。

该协议主要在对资源和数据的集中管理至关重要的那些计算环境上实现。它使用传输控制协议(TCP)和用户数据报协议(UDP)来访问和传递数据和文件。

网络文件系统是一种协议,适用于所有基于IP的网络。它在该客户端/服务器应用程序中实现,在该客户端/服务器应用程序中,NFS服务器管理授权,身份验证和客户端。该协议可用于Apple Mac OS,Unix和类似Unix的操作系统,例如Solaris,Linux,FreeBSD,AIX。

NFS和CIFS之间的区别

NFS CIFS
1. NFS is an abbreviation of the Network File System. 1. CIFS is an abbreviation of the Common Internet File system.
2. This protocol is used for sharing the files by Unix and Linux Operating systems. 2. This protocol is used for sharing the files by Windows Operating systems.
3. It is highly scalable. 3. It is low scalable.
4. The speed of communication is fast. 4. The speed of communication is medium.
5. The network File system is not a secure protocol. 5. Common Internet File System is more secure than the Network File System.
6. NFS is not a reliable protocol. 6. CIFS is a reliable protocol.
7. This protocol does not provide the session. 7. This protocol provides the sessions.
8. This protocol is easy to implement and set up. 8. Its implementation is complex.
9. This protocol uses 111 port for both TCP and UDP. 9. This protocol uses 139 and 445 TCP ports and 137 and 138 UDP ports.