Terme informatique

NFSv4

NFSv4 is a modern version of the NFS file sharing protocol.

⌚ About 1 min read
View my favorites

Simple definition

NFSv4 is a modern version of the Network File System protocol that lets clients access remote files through a network filesystem.

Technical definition

NFSv4 integrates more functions into the protocol than earlier generations, including state management, locking, and stronger security integration. It commonly uses TCP port 2049 for the main NFS service and exposes a server-controlled pseudo-filesystem. Authentication and permissions can depend on UID/GID mapping, identity mapping, and the selected security mechanism.

How it works / role

Its role is to provide interoperable network file sharing while improving locking, session management, and security capabilities compared with older NFS versions.

What is it used for?

Share directories between Linux/Unix servers, clusters, hypervisors, NAS systems, or applications that require network file storage.

Practical example

A server exports /data over NFSv4. Several clients mount the share, but permissions remain consistent only when identities and idmapping are aligned correctly.

Common issues

  • UID/GID or idmapping mismatch between client and server
  • Export or pseudo-filesystem is configured incorrectly
  • Firewall blocks TCP 2049 or another dependency in the environment
  • Local permissions do not match the access expected by clients

Key takeaway: When troubleshooting NFSv4, verify the network path, exports, user identity mapping, and effective permissions together.

♡ 0