devd receives events from the ZFS subsystem, and thus it should be
possible to write an /etc/devd/zfs.conf for the zfsutils package, to
detect when a disk fails in a ZFS pool. It could notify a configurable
email address (default to "root") similar to mdadm. Example of one type
of error (there my
Package: zfsutils
Version: 8.1-4+squeeze1
Severity: important
Turns out I've been having a dead disk for about a month and didn't even
notice.
ZFS (via devd) reported several messages like this in /var/log/user.log:
Mar 19 11:40:00 thorin logger: ZFS: checksum mismatch, zpool=tank3
path=/dev/
2 matches
Mail list logo