From 6078881aa18a45ea065a887e2a8606279cdc0329 Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Wed, 19 Oct 2016 12:55:59 -0700 Subject: Multipath autoreplace, control enclosure LEDs, event rate limiting 1. Enable multipath autoreplace support for FMA. This extends FMA autoreplace to work with multipath disks. This requires libdevmapper to be installed at build time. 2. Turn on/off fault LEDs when VDEVs become degraded/faulted/online Set ZED_USE_ENCLOSURE_LEDS=1 in zed.rc to have ZED turn on/off the enclosure LED for a drive when a drive becomes FAULTED/DEGRADED. Your enclosure must be supported by the Linux SES driver for this to work. The enclosure LED scripts work for multipath devices as well. The scripts will clear the LED when the fault is cleared. 3. Rate limit ZIO delay and checksum events so as not to flood ZED ZIO delay and checksum events are rate limited to 5/sec in the zfs module. Reviewed-by: Richard Laager Reviewed by: Don Brady Reviewed-by: Brian Behlendorf Signed-off-by: Tony Hutter Closes #2449 Closes #3017 Closes #5159 --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f01a4d872..e9f50f783 100644 --- a/configure.ac +++ b/configure.ac @@ -301,4 +301,9 @@ AC_CONFIG_FILES([ zfs.release ]) + AC_OUTPUT + +AS_IF([test "x$user_libdevmapper" != xyes ], [ + AC_MSG_WARN([Building without libdevmapper. Auto-replace, auto-online, and statechange-led.sh may not work correctly with device mapper vdevs.]) +]) -- cgit v1.2.3