{
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-30",
  "slug": "zfs-recordsize",
  "term": "ZFS recordsize",
  "aliases": [
    "recordsize",
    "recsize"
  ],
  "definition": "ZFS recordsize is the suggested data-block size for files in a ZFS filesystem dataset.",
  "note": "The property applies to files, not zvols; recsize is its shortened name. Changing it affects newly created files, leaving existing files unchanged. It does not prescribe the size of every application I/O request. [properties]\n\nUpdating part of an existing record can require its prior contents from ARC or disk. A smaller record may reduce that work but change metadata and compression costs; no single setting is best for every workload. [tuning]\n\nThe logical record size is separate from the vdev's sector allocation unit, controlled by ashift. Neither a recordsize setting nor a guest block size alone determines physical RAIDZ allocation. [sector]\n\nFor a 16 KiB record with 4 KiB allocation units, compression must save at least one 4 KiB unit: a 25% reduction. A smaller compressed byte count alone does not guarantee sector savings. [properties]",
  "related": [
    "zfs",
    "zfs-volblocksize",
    "copy-on-write",
    "raidz",
    "zfs-embedded-data"
  ],
  "citations": [
    {
      "id": "properties",
      "title": "OpenZFS 2.3: zfsprops(7), recordsize and volblocksize",
      "url": "https://openzfs.github.io/openzfs-docs/man/v2.3/7/zfsprops.7.html",
      "accessed": "2026-11-30"
    },
    {
      "id": "tuning",
      "title": "OpenZFS Workload Tuning: dataset records, zvol blocks and compression",
      "url": "https://openzfs.github.io/openzfs-docs/Performance%20and%20Tuning/Workload%20Tuning.html",
      "accessed": "2026-11-30"
    },
    {
      "id": "sector",
      "title": "OpenZFS 2.3: zpoolprops(7), ashift and allocation accounting",
      "url": "https://openzfs.github.io/openzfs-docs/man/v2.3/7/zpoolprops.7.html",
      "accessed": "2026-11-30"
    }
  ],
  "provenance": [
    "Property semantics follow the OpenZFS 2.3 manual; the unversioned tuning guide supports qualitative tradeoffs, not a universal size recommendation.",
    "Source review only; no pool experiment, performance result or file-migration procedure is claimed."
  ]
}
