datatracker.ietf.org
Sign in
Version 5.13.0, 2015-03-25
Report a bug

Network File System (NFS) Version 4 External Data Representation Standard (XDR) Description
RFC 7531

Internet Engineering Task Force (IETF)                    T. Haynes, Ed.
Request for Comments: 7531                                  Primary Data
Category: Standards Track                                 D. Noveck, Ed.
ISSN: 2070-1721                                                     Dell
                                                              March 2015

                  Network File System (NFS) Version 4
        External Data Representation Standard (XDR) Description

Abstract

   The Network File System (NFS) version 4 protocol is a distributed
   file system protocol that owes its heritage to NFS protocol version 2
   (RFC 1094) and version 3 (RFC 1813).  Unlike earlier versions, the
   NFS version 4 protocol supports traditional file access while
   integrating support for file locking and the MOUNT protocol.  In
   addition, support for strong security (and its negotiation), COMPOUND
   operations, client caching, and internationalization has been added.
   Of course, attention has been applied to making NFS version 4 operate
   well in an Internet environment.

   RFC 7530 formally obsoletes RFC 3530.  This document, together with
   RFC 7530, replaces RFC 3530 as the definition of the NFS version 4
   protocol.

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 5741.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc7531.

Haynes & Noveck              Standards Track                    [Page 1]
RFC 7531                        NFSv4 XDR                     March 2015

Copyright Notice

   Copyright (c) 2015 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

   This document may contain material from IETF Documents or IETF
   Contributions published or made publicly available before November
   10, 2008.  The person(s) controlling the copyright in some of this
   material may not have granted the IETF Trust the right to allow
   modifications of such material outside the IETF Standards Process.
   Without obtaining an adequate license from the person(s) controlling
   the copyright in such materials, this document may not be modified
   outside the IETF Standards Process, and derivative works of it may
   not be created outside the IETF Standards Process, except to format
   it for publication as an RFC or to translate it into languages other
   than English.

Haynes & Noveck              Standards Track                    [Page 2]
RFC 7531                        NFSv4 XDR                     March 2015

Table of Contents

   1. Introduction ...................................................3
   2. XDR Description of NFSv4.0 .....................................3
   3. Security Considerations .......................................39
   4. Normative References ..........................................39
   Acknowledgments ..................................................39
   Authors' Addresses ...............................................39

1.  Introduction

   This document contains the External Data Representation (XDR)
   [RFC4506] description of the NFSv4.0 protocol [RFC7530].

2.  XDR Description of NFSv4.0

   The XDR description is provided in this document in a way that makes
   it simple for the reader to extract it into a form that is ready to
   compile.  The reader can feed this document in the following shell
   script to produce the machine-readable XDR description of NFSv4.0:

      #!/bin/sh
      grep "^  *///" | sed 's?^  */// ??' | sed 's?^  *///$??'

   That is, if the above script is stored in a file called "extract.sh",
   and this document is in a file called "spec.txt", then the reader
   can do:

[include full document text]