{
  "status": "shipping",
  "advantages": [
    {
      "text": "A dedicated low-latency device such as NVRAM can raise synchronous write performance, and writes are load-balanced across several log devices.",
      "citationIds": [
        "pool-man"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Spares cannot replace log devices.",
      "citationIds": [
        "pool-man"
      ]
    },
    {
      "text": "Setting zil_nocacheflush can corrupt the ZIL on power loss when a volatile out-of-order write cache is enabled.",
      "citationIds": [
        "params-man"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-10-25",
  "slug": "zfs-separate-log",
  "term": "ZFS separate log",
  "aliases": [
    "SLOG",
    "separate intent log device"
  ],
  "definition": "A ZFS separate log is dedicated pool log-device storage used for intent-log blocks instead of their default allocation in the main pool.",
  "note": "A SLOG is optional, not the ZIL itself and not a general write cache or independent backup. Log devices may be mirrored, but RAID-Z log vdevs are not supported. [pool-man] logbias=throughput bypasses configured log devices while retaining synchronous semantics; sync=disabled instead ignores application synchronous requests. [props-man] Data protected by an indirect log record need not be copied into the SLOG. [write-source] Under the 2.3 module defaults, blocks over zfs_immediate_write_sz, 32 KiB by default, are treated as logbias=throughput, and zil_slog_bulk caps synchronous-priority SLOG writes per commit at 64 MiB. [params-man]",
  "related": [
    "zfs-intent-log",
    "zfs-transaction-group",
    "write-back-cache",
    "power-loss-protection",
    "fsync",
    "zfs",
    "vdev"
  ],
  "citations": [
    {
      "id": "pool-man",
      "title": "OpenZFS 2.3: zpoolconcepts(7), Intent Log and Cache Devices",
      "url": "https://openzfs.github.io/openzfs-docs/man/v2.3/7/zpoolconcepts.7.html",
      "accessed": "2026-10-23"
    },
    {
      "id": "props-man",
      "title": "OpenZFS 2.3: zfsprops(7), sync and logbias",
      "url": "https://openzfs.github.io/openzfs-docs/man/v2.3/7/zfsprops.7.html",
      "accessed": "2026-10-23"
    },
    {
      "id": "write-source",
      "title": "OpenZFS 2.3.4: zfs_log.c, zfs_log_write selection of write state",
      "url": "https://github.com/openzfs/zfs/blob/zfs-2.3.4/module/zfs/zfs_log.c",
      "accessed": "2026-10-14"
    },
    {
      "id": "params-man",
      "title": "OpenZFS 2.3: zfs(4) module parameters, ZIL and SLOG tunables",
      "url": "https://openzfs.github.io/openzfs-docs/man/v2.3/4/zfs.4.html",
      "accessed": "2026-10-23"
    }
  ],
  "provenance": [
    "pool-man is OpenZFS 2.3 zpoolconcepts(7), re-read for log vdev types, load balancing, NVRAM devices and the spares rule. props-man is zfsprops(7) at 2.3, re-read for logbias and sync.",
    "params-man is OpenZFS 2.3 zfs(4), read for the 32 KiB zfs_immediate_write_sz and 64 MiB zil_slog_bulk defaults and the zil_nocacheflush warning.",
    "write-source, zfs_log.c at 2.3.4, was not re-read in this revision.",
    "The persistence-ordering entry links here because a SLOG moves where synchronous writes become durable ahead of the transaction group commit."
  ]
}
