]> granicus.if.org Git - zfs/commit
Add notification to io-spare.sh
authorChris Dunlap <cdunlap@llnl.gov>
Fri, 20 Mar 2015 00:40:54 +0000 (17:40 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 27 Apr 2015 19:08:08 +0000 (12:08 -0700)
commit090b19158a7f776586369a593b271392cabbf175
tree0ae2f9219a73700d5ec1a54378adb4d5cfd6f41c
parenta0d065fa922d2ce2e07785eb3d35757763c644bf
Add notification to io-spare.sh

The io-spare.sh ZEDLET does not generate a notification when a failing
device is replaced with a hot spare.  Maybe it should tell someone.

This commit adds a notification message to the io-spare.sh ZEDLET.
This notification is triggered when a failing device is successfully
replaced with a hot spare after encountering a checksum or io error.

Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
cmd/zed/zed.d/io-spare.sh