Project

General

Profile

Bug #26181

Bug #26165: Send email when scrub finishes

Need ZFS to send a devd event when scrub/resilver finishes

Added by William Grzybowski over 3 years ago. Updated over 3 years ago.

Status:
Closed: Behaves correctly
Priority:
No priority
Assignee:
Alexander Motin
Category:
OS
Target version:
-
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

As per parent ticket, we need this to send an email when scrub finishes.

History

#1 Updated by William Grzybowski over 3 years ago

  • Status changed from Untriaged to Unscreened

#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.

Also available in: Atom PDF