RFC 3010 (rfc3010) - Page 2 of 212


NFS version 4 Protocol



Alternative Format: Original Text Document



RFC 3010                 NFS version 4 Protocol            December 2000


Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . .   5
   1.1.  Overview of NFS Version 4 Features . . . . . . . . . . . .   6
   1.1.1.  RPC and Security . . . . . . . . . . . . . . . . . . . .   6
   1.1.2.  Procedure and Operation Structure  . . . . . . . . . . .   7
   1.1.3.  File System Model  . . . . . . . . . . . . . . . . . . .   8
   1.1.3.1.  Filehandle Types . . . . . . . . . . . . . . . . . . .   8
   1.1.3.2.  Attribute Types  . . . . . . . . . . . . . . . . . . .   8
   1.1.3.3.  File System Replication and Migration  . . . . . . . .   9
   1.1.4.  OPEN and CLOSE . . . . . . . . . . . . . . . . . . . . .   9
   1.1.5.  File locking . . . . . . . . . . . . . . . . . . . . . .   9
   1.1.6.  Client Caching and Delegation  . . . . . . . . . . . . .  10
   1.2.  General Definitions  . . . . . . . . . . . . . . . . . . .  11
   2.  Protocol Data Types  . . . . . . . . . . . . . . . . . . . .  12
   2.1.  Basic Data Types . . . . . . . . . . . . . . . . . . . . .  12
   2.2.  Structured Data Types  . . . . . . . . . . . . . . . . . .  14
   3.  RPC and Security Flavor  . . . . . . . . . . . . . . . . . .  18
   3.1.  Ports and Transports . . . . . . . . . . . . . . . . . . .  18
   3.2.  Security Flavors . . . . . . . . . . . . . . . . . . . . .  18
   3.2.1.  Security mechanisms for NFS version 4  . . . . . . . . .  19
   3.2.1.1.  Kerberos V5 as security triple . . . . . . . . . . . .  19
   3.2.1.2.  LIPKEY as a security triple  . . . . . . . . . . . . .  19
   3.2.1.3.  SPKM-3 as a security triple  . . . . . . . . . . . . .  20
   3.3.  Security Negotiation . . . . . . . . . . . . . . . . . . .  21
   3.3.1.  Security Error . . . . . . . . . . . . . . . . . . . . .  21
   3.3.2.  SECINFO  . . . . . . . . . . . . . . . . . . . . . . . .  21
   3.4.  Callback RPC Authentication  . . . . . . . . . . . . . . .  22
   4.  Filehandles  . . . . . . . . . . . . . . . . . . . . . . . .  23
   4.1.  Obtaining the First Filehandle . . . . . . . . . . . . . .  24
   4.1.1.  Root Filehandle  . . . . . . . . . . . . . . . . . . . .  24
   4.1.2.  Public Filehandle  . . . . . . . . . . . . . . . . . . .  24
   4.2.  Filehandle Types . . . . . . . . . . . . . . . . . . . . .  25
   4.2.1.  General Properties of a Filehandle . . . . . . . . . . .  25
   4.2.2.  Persistent Filehandle  . . . . . . . . . . . . . . . . .  26
   4.2.3.  Volatile Filehandle  . . . . . . . . . . . . . . . . . .  26
   4.2.4.  One Method of Constructing a Volatile Filehandle . . . .  28
   4.3.  Client Recovery from Filehandle Expiration . . . . . . . .  28
   5.  File Attributes  . . . . . . . . . . . . . . . . . . . . . .  29
   5.1.  Mandatory Attributes . . . . . . . . . . . . . . . . . . .  30
   5.2.  Recommended Attributes . . . . . . . . . . . . . . . . . .  30
   5.3.  Named Attributes . . . . . . . . . . . . . . . . . . . . .  31
   5.4.  Mandatory Attributes - Definitions . . . . . . . . . . . .  31
   5.5.  Recommended Attributes - Definitions . . . . . . . . . . .  33
   5.6.  Interpreting owner and owner_group . . . . . . . . . . . .  38
   5.7.  Character Case Attributes  . . . . . . . . . . . . . . . .  39
   5.8.  Quota Attributes . . . . . . . . . . . . . . . . . . . . .  39
   5.9.  Access Control Lists . . . . . . . . . . . . . . . . . . .  40



Shepler, et al.             Standards Track