Bug #26165: Send email when scrub finishes
Need ZFS to send a devd event when scrub/resilver finishes
As per parent ticket, we need this to send an email when scrub finishes.
#2 Updated by Alexander Motin over 3 years ago
- Status changed from Unscreened to Closed: Behaves correctly
It is already reported to devd:
# cat /var/run/devd.pipe !system=ZFS subsystem=ZFS type=misc.fs.zfs.scrub_start pool_name=test1 pool_guid=8521071644282640777 !system=ZFS subsystem=ZFS type=misc.fs.zfs.scrub_finish pool_name=test1 pool_guid=8521071644282640777
Such events from that area should be reported: resilver_start, resilver_finish, scrub_start, scrub_finish, scrub_abort.