Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

SLOG

Direct answer

A SLOG does not create the ZIL; it relocates intent-log records from the main pool to a separate log vdev. Its main value is low-latency stable acknowledgement for sync-heavy workloads. It should be selected for latency and trustworthy power-loss persistence, and may be mirrored where the risk model requires it. Asynchronous writes do not gain from SLOG because they do not use the ZIL durability path in the same way.

When to use this

Use it when configuring, checking or troubleshooting SLOG in ZFS.

First 30 seconds

1. SLOG = dedicated fast device for the ZIL.

2. Use low-latency SSD with power-loss protection.

3. Mirror it.

4. Small size needed (seconds of writes).

5. Helps only sync-heavy workloads.

Operational verification

sync write → SLOG → ack

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

A low-latency SLOG acknowledgement shows the log device accepted the synchronous intent under the tested durability contract; it does not make asynchronous writes faster or show application consistency.

Suspicious evidence: consumer SSD without trustworthy persistence is used for durability, workload is mostly asynchronous, log errors accumulate, or SLOG is described as a normal write cache.

Platform / version applicability
ZFS storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformZFS storage
Scope / prerequisiteUse it when configuring, checking or troubleshooting SLOG in ZFS.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

sync application write → ZIL record → SLOG log vdev stable write → acknowledgement → later main-pool TXG commit → recovery replay if required

Healthy evidence: workload issues synchronous writes, log vdev is stable and power-loss-safe, sync latency improves, and crash/recovery tests preserve the expected committed state.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • SLOG ≠ write cache.
  • SLOG ≠ L2ARC/cache vdev.
  • No synchronous workload ≈ little or no SLOG benefit.
  • Fast benchmark latency ≠ power-loss-safe persistence.
Key checks
  • zpool status — logs vdev
  • zpool add <pool> log mirror nvme0n1 nvme1n1 — add mirrored SLOG
  • zpool iostat -v 1 — SLOG usage
ReferenceImportant terms & boundaries2 sections · depth on demand

Topology

A low-latency SLOG acknowledgement shows the log device accepted the synchronous intent under the tested durability contract; it does not make asynchronous writes faster or show application consistency.

In depth

The ZIL (ZFS Intent Log) records synchronous writes so they can be acknowledged before the transaction group commits (every ~5 s). By default it lives on the pool disks; a SLOG is a separate, fast log device for it.

A SLOG only helps synchronous writes: NFS with sync, databases, iSCSI/zvols with sync=always, VMs on NFS datastores. Asynchronous writes never touch it. A suitable SLOG has power-loss protection and low write latency; size needs are small — about 5–10 seconds of maximum write throughput (e.g. 10 GbE ≈ 1.25 GB/s × 10 s ≈ 12.5 GB).

zpool add tank log mirror nvme-A nvme-B
zpool iostat -v tank 1          # watch the logs section under sync load
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docZFS storage current

Authoritative/upstream documentation reviewed for bounded claims in ZFS → SLOG. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://openzfs.github.io/openzfs-docs/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
slogzfs slogseparate log device
Embedded reference data

Quick lookup tables

ZFS → SLOG ZFS map

Fast topology, capacity, integrity and proof boundaries for ZFS → SLOG.

ZFS boundaryWhat to verifyProof limit
Identity / topologyPool GUID/name, dataset/zvol, top-level vdev class, leaf-device identity and effective propertiesObject presence alone does not prove integrity, performance or recovery
Capacity / protectionPool free space, quotas/reservations, snapshot retention, redundancy and active scrub/resilver stateFree space or ONLINE state at one layer does not prove end-to-end health
Failure boundaryA low-latency SLOG acknowledgement proves the log device accepted the synchronous intent under the tested durability contract; it does not make asynchronous writes faster or prove application consistency.Correlate ZFS evidence with both workload and lower device/path evidence
AcceptanceHealthy evidence: workload issues synchronous writes, log vdev is stable and power-loss-safe, sync latency improves, and crash/recovery tests preserve the expected committed state.Close only after original workload plus checksum/read-back/recovery verification succeeds
Confirmation

Confirm action

Continue?