rfc7531v4.txt | rfc7531.txt | |||
---|---|---|---|---|
skipping to change at page 1, line 15 | skipping to change at page 1, line 15 | |||
Category: Standards Track D. Noveck, Ed. | Category: Standards Track D. Noveck, Ed. | |||
ISSN: 2070-1721 Dell | ISSN: 2070-1721 Dell | |||
March 2015 | March 2015 | |||
Network File System (NFS) Version 4 | Network File System (NFS) Version 4 | |||
External Data Representation Standard (XDR) Description | External Data Representation Standard (XDR) Description | |||
Abstract | Abstract | |||
The Network File System (NFS) version 4 protocol is a distributed | The Network File System (NFS) version 4 protocol is a distributed | |||
filesystem protocol that owes its heritage to NFS protocol version 2 | file system protocol that owes its heritage to NFS protocol version 2 | |||
(RFC 1094) and version 3 (RFC 1813). Unlike earlier versions, the | (RFC 1094) and version 3 (RFC 1813). Unlike earlier versions, the | |||
NFS version 4 protocol supports traditional file access while | NFS version 4 protocol supports traditional file access while | |||
integrating support for file locking and the mount protocol. In | integrating support for file locking and the MOUNT protocol. In | |||
addition, support for strong security (and its negotiation), COMPOUND | addition, support for strong security (and its negotiation), COMPOUND | |||
operations, client caching, and internationalization has been added. | operations, client caching, and internationalization has been added. | |||
Of course, attention has been applied to making NFS version 4 operate | Of course, attention has been applied to making NFS version 4 operate | |||
well in an Internet environment. | well in an Internet environment. | |||
RFC 7530 formally obsoletes RFC 3530. This document, together with | RFC 7530 formally obsoletes RFC 3530. This document, together with | |||
RFC 7530, replaces RFC 3530 as the definition of the NFS version 4 | RFC 7530, replaces RFC 3530 as the definition of the NFS version 4 | |||
protocol. | protocol. | |||
Status of This Memo | Status of This Memo | |||
skipping to change at page 5, line 19 | skipping to change at page 5, line 19 | |||
/// * Error status | /// * Error status | |||
/// */ | /// */ | |||
/// enum nfsstat4 { | /// enum nfsstat4 { | |||
/// NFS4_OK = 0, /* everything is okay */ | /// NFS4_OK = 0, /* everything is okay */ | |||
/// NFS4ERR_PERM = 1, /* caller not privileged */ | /// NFS4ERR_PERM = 1, /* caller not privileged */ | |||
/// NFS4ERR_NOENT = 2, /* no such file/directory */ | /// NFS4ERR_NOENT = 2, /* no such file/directory */ | |||
/// NFS4ERR_IO = 5, /* hard I/O error */ | /// NFS4ERR_IO = 5, /* hard I/O error */ | |||
/// NFS4ERR_NXIO = 6, /* no such device */ | /// NFS4ERR_NXIO = 6, /* no such device */ | |||
/// NFS4ERR_ACCESS = 13, /* access denied */ | /// NFS4ERR_ACCESS = 13, /* access denied */ | |||
/// NFS4ERR_EXIST = 17, /* file already exists */ | /// NFS4ERR_EXIST = 17, /* file already exists */ | |||
/// NFS4ERR_XDEV = 18, /* different filesystems */ | /// NFS4ERR_XDEV = 18, /* different file systems */ | |||
/// /* Unused/reserved 19 */ | /// /* Unused/reserved 19 */ | |||
/// NFS4ERR_NOTDIR = 20, /* should be a directory */ | /// NFS4ERR_NOTDIR = 20, /* should be a directory */ | |||
/// NFS4ERR_ISDIR = 21, /* should not be directory */ | /// NFS4ERR_ISDIR = 21, /* should not be directory */ | |||
/// NFS4ERR_INVAL = 22, /* invalid argument */ | /// NFS4ERR_INVAL = 22, /* invalid argument */ | |||
/// NFS4ERR_FBIG = 27, /* file exceeds server max */ | /// NFS4ERR_FBIG = 27, /* file exceeds server max */ | |||
/// NFS4ERR_NOSPC = 28, /* no space on filesystem */ | /// NFS4ERR_NOSPC = 28, /* no space on file system */ | |||
/// NFS4ERR_ROFS = 30, /* read-only filesystem */ | /// NFS4ERR_ROFS = 30, /* read-only file system */ | |||
/// NFS4ERR_MLINK = 31, /* too many hard links */ | /// NFS4ERR_MLINK = 31, /* too many hard links */ | |||
/// NFS4ERR_NAMETOOLONG = 63, /* name exceeds server max */ | /// NFS4ERR_NAMETOOLONG = 63, /* name exceeds server max */ | |||
/// NFS4ERR_NOTEMPTY = 66, /* directory not empty */ | /// NFS4ERR_NOTEMPTY = 66, /* directory not empty */ | |||
/// NFS4ERR_DQUOT = 69, /* hard quota limit reached */ | /// NFS4ERR_DQUOT = 69, /* hard quota limit reached */ | |||
/// NFS4ERR_STALE = 70, /* file no longer exists */ | /// NFS4ERR_STALE = 70, /* file no longer exists */ | |||
/// NFS4ERR_BADHANDLE = 10001,/* Illegal filehandle */ | /// NFS4ERR_BADHANDLE = 10001,/* Illegal filehandle */ | |||
/// NFS4ERR_BAD_COOKIE = 10003,/* READDIR cookie is stale */ | /// NFS4ERR_BAD_COOKIE = 10003,/* READDIR cookie is stale */ | |||
/// NFS4ERR_NOTSUPP = 10004,/* operation not supported */ | /// NFS4ERR_NOTSUPP = 10004,/* operation not supported */ | |||
/// NFS4ERR_TOOSMALL = 10005,/* response limit exceeded */ | /// NFS4ERR_TOOSMALL = 10005,/* response limit exceeded */ | |||
/// NFS4ERR_SERVERFAULT = 10006,/* undefined server error */ | /// NFS4ERR_SERVERFAULT = 10006,/* undefined server error */ | |||
skipping to change at page 5, line 49 | skipping to change at page 5, line 49 | |||
/// NFS4ERR_SAME = 10009,/* nverify says attrs same */ | /// NFS4ERR_SAME = 10009,/* nverify says attrs same */ | |||
/// NFS4ERR_DENIED = 10010,/* lock unavailable */ | /// NFS4ERR_DENIED = 10010,/* lock unavailable */ | |||
/// NFS4ERR_EXPIRED = 10011,/* lock lease expired */ | /// NFS4ERR_EXPIRED = 10011,/* lock lease expired */ | |||
/// NFS4ERR_LOCKED = 10012,/* I/O failed due to lock */ | /// NFS4ERR_LOCKED = 10012,/* I/O failed due to lock */ | |||
/// NFS4ERR_GRACE = 10013,/* in grace period */ | /// NFS4ERR_GRACE = 10013,/* in grace period */ | |||
/// NFS4ERR_FHEXPIRED = 10014,/* filehandle expired */ | /// NFS4ERR_FHEXPIRED = 10014,/* filehandle expired */ | |||
/// NFS4ERR_SHARE_DENIED = 10015,/* share reserve denied */ | /// NFS4ERR_SHARE_DENIED = 10015,/* share reserve denied */ | |||
/// NFS4ERR_WRONGSEC = 10016,/* wrong security flavor */ | /// NFS4ERR_WRONGSEC = 10016,/* wrong security flavor */ | |||
/// NFS4ERR_CLID_INUSE = 10017,/* clientid in use */ | /// NFS4ERR_CLID_INUSE = 10017,/* clientid in use */ | |||
/// NFS4ERR_RESOURCE = 10018,/* resource exhaustion */ | /// NFS4ERR_RESOURCE = 10018,/* resource exhaustion */ | |||
/// NFS4ERR_MOVED = 10019,/* filesystem relocated */ | /// NFS4ERR_MOVED = 10019,/* file system relocated */ | |||
/// NFS4ERR_NOFILEHANDLE = 10020,/* current FH is not set */ | /// NFS4ERR_NOFILEHANDLE = 10020,/* current FH is not set */ | |||
/// NFS4ERR_MINOR_VERS_MISMATCH = 10021,/* minor vers not supp */ | /// NFS4ERR_MINOR_VERS_MISMATCH = 10021,/* minor vers not supp */ | |||
/// NFS4ERR_STALE_CLIENTID = 10022,/* server has rebooted */ | /// NFS4ERR_STALE_CLIENTID = 10022,/* server has rebooted */ | |||
/// NFS4ERR_STALE_STATEID = 10023,/* server has rebooted */ | /// NFS4ERR_STALE_STATEID = 10023,/* server has rebooted */ | |||
/// NFS4ERR_OLD_STATEID = 10024,/* state is out of sync */ | /// NFS4ERR_OLD_STATEID = 10024,/* state is out of sync */ | |||
/// NFS4ERR_BAD_STATEID = 10025,/* incorrect stateid */ | /// NFS4ERR_BAD_STATEID = 10025,/* incorrect stateid */ | |||
/// NFS4ERR_BAD_SEQID = 10026,/* request is out of seq. */ | /// NFS4ERR_BAD_SEQID = 10026,/* request is out of seq. */ | |||
/// NFS4ERR_NOT_SAME = 10027,/* verify - attrs not same */ | /// NFS4ERR_NOT_SAME = 10027,/* verify - attrs not same */ | |||
/// NFS4ERR_LOCK_RANGE = 10028,/* lock range not supported */ | /// NFS4ERR_LOCK_RANGE = 10028,/* lock range not supported */ | |||
/// NFS4ERR_SYMLINK = 10029,/* should be file/directory */ | /// NFS4ERR_SYMLINK = 10029,/* should be file/directory */ | |||
/// NFS4ERR_RESTOREFH = 10030,/* no saved filehandle */ | /// NFS4ERR_RESTOREFH = 10030,/* no saved filehandle */ | |||
/// NFS4ERR_LEASE_MOVED = 10031,/* some filesystem moved */ | /// NFS4ERR_LEASE_MOVED = 10031,/* some file system moved */ | |||
/// NFS4ERR_ATTRNOTSUPP = 10032,/* recommended attr not sup */ | /// NFS4ERR_ATTRNOTSUPP = 10032,/* recommended attr not sup */ | |||
/// NFS4ERR_NO_GRACE = 10033,/* reclaim outside of grace */ | /// NFS4ERR_NO_GRACE = 10033,/* reclaim outside of grace */ | |||
/// NFS4ERR_RECLAIM_BAD = 10034,/* reclaim error at server */ | /// NFS4ERR_RECLAIM_BAD = 10034,/* reclaim error at server */ | |||
/// NFS4ERR_RECLAIM_CONFLICT = 10035,/* conflict on reclaim */ | /// NFS4ERR_RECLAIM_CONFLICT = 10035,/* conflict on reclaim */ | |||
/// NFS4ERR_BADXDR = 10036,/* XDR decode failed */ | /// NFS4ERR_BADXDR = 10036,/* XDR decode failed */ | |||
/// NFS4ERR_LOCKS_HELD = 10037,/* file locks held at CLOSE */ | /// NFS4ERR_LOCKS_HELD = 10037,/* file locks held at CLOSE */ | |||
/// NFS4ERR_OPENMODE = 10038,/* conflict in OPEN and I/O */ | /// NFS4ERR_OPENMODE = 10038,/* conflict in OPEN and I/O */ | |||
/// NFS4ERR_BADOWNER = 10039,/* owner translation bad */ | /// NFS4ERR_BADOWNER = 10039,/* owner translation bad */ | |||
/// NFS4ERR_BADCHAR = 10040,/* UTF-8 char not supported */ | /// NFS4ERR_BADCHAR = 10040,/* UTF-8 char not supported */ | |||
/// NFS4ERR_BADNAME = 10041,/* name not supported */ | /// NFS4ERR_BADNAME = 10041,/* name not supported */ | |||
skipping to change at page 7, line 49 | skipping to change at page 7, line 49 | |||
/// /* | /// /* | |||
/// * FSID structure for major/minor | /// * FSID structure for major/minor | |||
/// */ | /// */ | |||
/// struct fsid4 { | /// struct fsid4 { | |||
/// uint64_t major; | /// uint64_t major; | |||
/// uint64_t minor; | /// uint64_t minor; | |||
/// }; | /// }; | |||
/// | /// | |||
/// | /// | |||
/// /* | /// /* | |||
/// * Filesystem locations attribute for relocation/migration | /// * File system locations attribute for relocation/migration | |||
/// */ | /// */ | |||
/// struct fs_location4 { | /// struct fs_location4 { | |||
/// utf8str_cis server<>; | /// utf8str_cis server<>; | |||
/// pathname4 rootpath; | /// pathname4 rootpath; | |||
/// }; | /// }; | |||
/// | /// | |||
/// struct fs_locations4 { | /// struct fs_locations4 { | |||
/// pathname4 fs_root; | /// pathname4 fs_root; | |||
/// fs_location4 locations<>; | /// fs_location4 locations<>; | |||
/// }; | /// }; | |||
End of changes. 7 change blocks. | ||||
8 lines changed or deleted | 8 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |