Sign in

← Software

FMA diagnosis (zfs-diagnosis, zfs-retire) vs ZED

titleFMA diagnosis (zfs-diagnosis, zfs-retire) vs ZED
recommendationinclude
directionillumos-only
areaintegration
feature flag
openzfs version
summaryillumos turns ZFS ereports into faults with fmd modules zfs-diagnosis and zfs-retire, plus syseventd zfs_mod (autoreplace, device online). OpenZFS replaced these with ZED (zfs event daemon) scripts. illumos 18743 (zfs-diagnosis leaks pool handles) was opened 2026-11.
impactSolnix gets FMA-integrated faulting, fmadm/fmdump and SMF hooks. OpenZFS-side policies (slow-I/O faulting, ZED zedlets) must be re-expressed as FMA logic rather than ported.
whyCore illumos integration; keep it and adapt new OpenZFS diagnosis features into it.
effortsmall
sourceshttps://github.com/illumos/illumos-gate/blob/ac45d71fc2b04a5422e72a14b54dd1e746e7be07/usr/src/cmd/fm/modules/common/zfs-diagnosis/zfs_de.c
https://github.com/openzfs/zfs/blob/c913da86156eba3243cc1ef515e98d69887654a7/cmd/zed
https://github.com/illumos/illumos-gate/blob/ac45d71fc2b04a5422e72a14b54dd1e746e7be07/usr/src/cmd/syseventd/modules/zfs_mod/zfs_mod.c
https://github.com/illumos/illumos-gate/blob/ac45d71fc2b04a5422e72a14b54dd1e746e7be07/usr/src/cmd/fm/modules/common/zfs-retire/zfs_retire.c
https://www.illumos.org/issues/18743

What Solnix has done

No decision yet: open for ranking.

Objections (0)

None.

Sign in to object to this item.