Support for File System Extended Attributes in NFSv4
draft-ietf-nfsv4-xattrs-00

The information below is for an old version of the document
Document Type Active Internet-Draft (nfsv4 WG)
Last updated 2015-07-31
Stream IETF
Intended RFC status (None)
Formats pdf htmlized (tools) htmlized bibtex
Reviews
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
NFSv4 Working Group                                              M. Naik
Internet Draft                                                  M. Eshel
Intended Status: Standards Track                             IBM Almaden
Expires: February 1, 2016                                  July 31, 2015

          Support for File System Extended Attributes in NFSv4
                       draft-ietf-nfsv4-xattrs-00

Abstract

   This document proposes extensions to existing NFSv4 operations to
   allow file extended attributes (here forth also referred to as
   xattrs) to be manipulated in the protocol. An xattr is a file system
   feature that allows opaque metadata, not interpreted by the file
   system, to be associated with files and directories and are supported
   by many modern file systems. New file attributes are proposed to
   allow clients to query the server for xattr support, and new
   operations to get and set xattrs on file system objects.

Status of this Memo

   This Internet-Draft is submitted to IETF in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF), its areas, and its working groups.  Note that
   other groups may also distribute working documents as
   Internet-Drafts.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   The list of current Internet-Drafts can be accessed at
   http://www.ietf.org/1id-abstracts.html

   The list of Internet-Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html

Copyright and License Notice

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

Naik, et al.            Expires February 1, 2016                [Page 1]
Internet Draft        Extended Attributes in NFSv4         July 31, 2015

   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.

Table of Contents

   1  Introduction  . . . . . . . . . . . . . . . . . . . . . . . . .  3
     1.1  Terminology . . . . . . . . . . . . . . . . . . . . . . . .  3
   2  Use Cases . . . . . . . . . . . . . . . . . . . . . . . . . . .  4
   3  File System Support . . . . . . . . . . . . . . . . . . . . . .  5
   4  Namespaces  . . . . . . . . . . . . . . . . . . . . . . . . . .  5
   5  Differences with Named Attributes . . . . . . . . . . . . . . .  6
   6  Protocol Enhancements . . . . . . . . . . . . . . . . . . . . .  7
     6.1  New Attributes  . . . . . . . . . . . . . . . . . . . . . .  7
       6.1.1  Attribute 82: xattr_support . . . . . . . . . . . . . .  7
     6.2  New Operations  . . . . . . . . . . . . . . . . . . . . . .  7
       6.2.1  New definitions . . . . . . . . . . . . . . . . . . . .  8
       6.2.2  Caching . . . . . . . . . . . . . . . . . . . . . . . .  9
       6.2.3  GETXATTR - Get an extended attribute of a file  . . . .  9
       6.2.4  SETXATTR - Set an extended attribute of a file  . . . . 10
       6.2.5  LISTXATTR - List extended attributes of a file  . . . . 12
       6.2.6  REMOVEXATTR - Remove an extended attribute of a file  . 13
       6.2.7  Valid Errors  . . . . . . . . . . . . . . . . . . . . . 14
     6.3  Extensions to ACE Access Mask Attributes  . . . . . . . . . 16
     6.4  pNFS Considerations . . . . . . . . . . . . . . . . . . . . 16
   7  Security Considerations . . . . . . . . . . . . . . . . . . . . 16
   8  IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 16
   9  References  . . . . . . . . . . . . . . . . . . . . . . . . . . 17
     9.1  Normative References  . . . . . . . . . . . . . . . . . . . 17
     9.2  Informative References  . . . . . . . . . . . . . . . . . . 17
   10  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 17
   Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 18

 

Naik, et al.            Expires February 1, 2016                [Page 2]
Internet Draft        Extended Attributes in NFSv4         July 31, 2015

1  Introduction

   Extended attributes, also called xattrs, are a means to associate
   opaque metadata with file system objects, typically organized in
Show full document text