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 be other, more suitable events to look for) : > Sep 18 11:02:54 devd: Processing event '!system=ZFS subsystem=ZFS > type=ereport.fs.zfs.vdev.open_failed class=ereport.fs.zfs.vdev.open_failed > ena=1231608693676572673 pool=tank pool_guid=60935100054319009 pool_context=0 > pool_failmode=wait vdev_guid=9311565949620464259 vdev_type=disk > vdev_path=/dev/ada0s2 parent_guid=60935100054319009 parent_type=root > prev_state=1'
Regards, -- Steven Chamberlain ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org