{
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-10-21",
  "slug": "nfs-readdir-cookie",
  "term": "NFS READDIR cookie",
  "aliases": [
    "NFS directory cookie"
  ],
  "definition": "An NFS READDIR cookie is a server-supplied cursor used to continue retrieving entries from a directory.",
  "note": "NFSv4.1 continuation: start with cookie zero, then return a server-issued cookie with its accompanying cookieverf. The server must reject a verifier it determines is invalid with NFS4ERR_NOT_SAME. The cookie is not a byte offset. [nfs-readdir]\n\nScope: a cookie/verifier pair addresses continuation for that directory, not a coordinated snapshot of a directory tree. This is a protocol-scope distinction, not an observed NFS failure. [nfs-readdir]\n\nEntry attributes: if requested, rdattr_error can carry an attribute-fetch failure for one entry inside an otherwise successful READDIR reply. Inspect per-entry errors as well as the operation status; listing success is not complete metadata capture. [nfs-readdir]",
  "related": [
    "nfs-storage",
    "directory-enumeration",
    "nfs-attribute-cache"
  ],
  "citations": [
    {
      "id": "nfs-readdir",
      "title": "Noveck and Lever: RFC 8881, NFSv4.1 READDIR, sections 18.23.3-18.23.4",
      "url": "https://www.rfc-editor.org/rfc/rfc8881.html#section-18.23",
      "accessed": "2026-10-21"
    }
  ]
}
