TL;DR
Cheat sheet: zpool create, export/import, lz4, L2ARC, SLOG, labelclear, destroy — the 2 a.m. set.
Short reference. Longer procedures are linked at the bottom.
Pool
| |
raidz here is RAIDZ1 (one parity). For two, raidz2. Address disks as /dev/disk/by-id/…, not sdX, which reorder.
Mountpoint
| |
L2ARC (cache) and SLOG (ZIL)
| |
Cache = hot reads. Log = sync writes (NFS, VMs). A “fast” USB SLOG is worse than no SLOG: if it dies mid-txg, you feel it. Mirror the log.
Compression
| |
lz4 is the sane default on modern OpenZFS. zstd compresses more and costs CPU. The property inherits to child datasets that do not override it.