ZFS SLOG, L2ARC and Special VDEV: Which SSD for Which Role
By the SSDtrader Team · Updated 10 November 2026 · Enterprise storage guides
The short answer: ZFS can use SSDs in three support roles. A SLOG (separate intent log) speeds up synchronous writes only, such as NFS, iSCSI, databases and VMs. It needs low latency and power-loss protection, and only a small capacity, typically a few tens of gigabytes. Mirror it. An L2ARC is a read cache that helps only when your working set is larger than RAM. It costs RAM for its index and can be a single, unprotected drive. A special vdev stores metadata and optionally small blocks. It is part of the pool, so it must be redundant: losing it loses the pool. For all three, use enterprise SSDs. Mixed-use or high-endurance drives with PLP suit SLOG and special vdevs best.
Disclosure: SSDtrader sells enterprise SSDs commonly used in ZFS systems. Behaviour described below follows OpenZFS documentation and common practice; test with your own workload.
ZFS (in TrueNAS, Proxmox, FreeBSD, illumos and Linux) is popular for storage built from hard drives, and SSDs can make those pools much faster. But "add an SSD cache" is the most misunderstood advice in ZFS. Put the wrong drive in the wrong role and you get no benefit, wasted RAM or, with a special vdev, a single point of failure for the whole pool. This guide explains each role, how to size it and which SSDs to use.
How does ZFS handle writes and reads?
Two mechanisms matter:
- The ZIL (ZFS intent log). When an application requests a synchronous write, ZFS must confirm that the data is safe before replying. It records the write in the ZIL. Normally the ZIL lives on the pool's own disks. ZFS then writes all data to its final location in transaction groups, by default every few seconds.
- The ARC (adaptive replacement cache). ZFS caches frequently and recently used data in RAM. Reads served from the ARC never touch the disks.
The SSD roles extend these: SLOG moves the ZIL to a fast device, L2ARC extends the ARC onto SSD, and special vdevs move metadata to SSD.
What is a SLOG and when does it help?
A SLOG is a dedicated device for the ZIL. It helps only synchronous writes. Asynchronous writes, which are most writes from SMB file shares and many applications, are buffered in RAM and never touch the ZIL, so a SLOG does nothing for them.
Workloads that issue sync writes and benefit from a SLOG:
- NFS exports to VMware ESXi or Proxmox (ESXi uses sync writes over NFS);
- iSCSI zvols with
sync=always; - databases (PostgreSQL, MySQL) on ZFS;
- VM disks on ZFS where the guest issues flushes.
Check whether your pool sees sync writes with zpool iostat -v 1 after adding a SLOG, or by looking at ZIL statistics, before buying hardware.
What makes a good SLOG device?
- Power-loss protection is mandatory. The SLOG holds data ZFS has already acknowledged. A drive that loses that data on power failure defeats the purpose. PLP drives are also much faster at sync writes. See power-loss protection explained.
- Low write latency at queue depth 1, which matters more than sequential throughput.
- High endurance. Every sync write passes through the SLOG. Mixed-use (3 DWPD) or write-intensive drives are appropriate.
- Small capacity is fine. The SLOG only holds a few seconds of incoming sync writes. As a rule of thumb, size it for your maximum write throughput multiplied by about 10 seconds. For a 10GbE server, that is roughly 12GB. Many people use a small partition or overprovision a larger drive, which also improves endurance.
- Mirror it if you cannot tolerate losing in-flight sync writes when a SLOG device fails during a crash.
What is an L2ARC and when does it help?
An L2ARC is a second-level read cache on SSD. It helps when your frequently read data (the working set) is larger than the RAM available for ARC but would fit on SSD. It does not help if the ARC already holds most reads, and it does not speed up writes.
- Add RAM first. RAM is faster than any SSD, and the L2ARC needs RAM for its own index (headers). On a small-memory system, a large L2ARC can reduce performance by shrinking the ARC.
- Check ARC statistics (
arc_summaryorarcstat). If the ARC hit rate is already high, an L2ARC will add little. - Redundancy is not needed. If an L2ARC drive fails, ZFS reads from the pool instead. A single drive is fine.
- Read-intensive SSDs work, but L2ARC writes continuously as it fills, so avoid consumer drives with very low endurance. Recent OpenZFS versions can keep L2ARC contents across reboots (persistent L2ARC).
What is a special vdev?
A special allocation class vdev stores pool metadata (and, if you set special_small_blocks, small file blocks) on SSD. On large hard-drive pools this can dramatically speed up directory listings, file searches, rsync and backup scans, deduplication tables, and small-file workloads.
Unlike SLOG and L2ARC, a special vdev is a permanent part of the pool. If it fails and has no redundancy, the pool is lost, because the metadata needed to find your data is gone. Rules:
- Use at least a mirror; a three-way mirror for important pools.
- Size it generously: metadata is often well under 1% of pool data, but small blocks can add much more. It is hard to remove a special vdev later.
- Use enterprise SSDs with PLP and appropriate endurance.
Which SSDs should you use for each role?
| Role | Redundancy | Capacity | Endurance | Key requirement | Example drive types |
|---|---|---|---|---|---|
| SLOG | Mirror recommended | Small (tens of GB) | High (3 DWPD+) | PLP, low sync latency | Mixed-use NVMe (e.g. Micron 7450 MAX, Samsung PM1735, Kioxia CM6-V) |
| L2ARC | None needed | Up to a few times RAM | Moderate | Read latency, endurance for fills | Read-intensive NVMe (e.g. Micron 7450 PRO, Samsung PM9A3) |
| Special vdev | Mirror or 3-way mirror | ~0.3–2%+ of pool, more with small blocks | Moderate to high | PLP, reliability | Enterprise NVMe or SAS SSD pairs |
| All-flash pool | RAIDZ or mirrors | Full pool | Per workload | PLP, matching models | Enterprise SATA, SAS or NVMe |
See Micron 7450 PRO vs MAX and Samsung PM1733 vs PM1735 for read-intensive and mixed-use options.
ZFS SSD best practices
- Set
ashift=12for SSDs and modern HDDs (see 512e vs 4Kn). - Connect drives through an HBA in IT/pass-through mode, not a RAID virtual disk. See RAID for SSDs.
- Enable
autotrimon all-SSD pools, or runzpool trimperiodically. - Monitor SSD wear (see how to check SSD health), especially on SLOG devices.
- Never use consumer SSDs without PLP for SLOG or special vdevs.
Buying SSDs for ZFS
We supply matched pairs for SLOG and special vdevs, and larger sets for all-flash pools, in new and refurbished grades with SMART reports. Browse U.2/U.3 NVMe SSDs, SAS SSDs and SATA SSDs, or send your pool design through the quote form and we will suggest drives. We reply within four working hours.
Questions buyers ask
Does a SLOG speed up SMB file transfers?
Usually not. SMB writes are typically asynchronous, so they bypass the ZIL. A SLOG helps synchronous writes such as NFS for VMware, iSCSI with sync=always and databases.
How big should a ZFS SLOG be?
Small. Roughly your maximum incoming write rate multiplied by about 10 seconds, often 16–32GB. Extra capacity can be left unpartitioned to improve endurance.
Is L2ARC worth it?
Only if your working set exceeds available RAM and your ARC hit rate is low. Add RAM first.
What happens if a special vdev fails?
If it has no redundancy, the pool is lost. Always mirror special vdevs.
Can I use one SSD for SLOG and L2ARC?
Technically yes, with partitions, but they compete for performance and endurance. Separate devices are better for busy systems.
Do I need PLP for L2ARC?
It is less critical, because L2ARC data is a disposable copy. For SLOG and special vdevs, PLP is essential.
Related guides
- SSD power-loss protection explained
- RAID for SSDs and NVMe
- What is a read-intensive SSD?
- TBW and DWPD explained