mirror_zfs/scripts
Chris Dunlap 9e246ac3d8 Initial implementation of zed (ZFS Event Daemon)
zed monitors ZFS events.  When a zevent is posted, zed will run any
scripts that have been enabled for the corresponding zevent class.
Multiple scripts may be invoked for a given zevent.  The zevent
nvpairs are passed to the scripts as environment variables.

Events are processed synchronously by the single thread, and there is
no maximum timeout for script execution.  Consequently, a misbehaving
script can delay (or forever block) the processing of subsequent
zevents.  Plans are to address this in future commits.

Initial scripts have been developed to log events to syslog
and send email in response to checksum/data/io errors and
resilver.finish/scrub.finish events.  By default, email will only
be sent if the ZED_EMAIL variable is configured in zed.rc (which is
serving as a config file of sorts until a proper configuration file
is implemented).

Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2
2014-04-02 13:10:03 -07:00
..
zfs-images@3331601f6d Add zimport.sh compatibility test script 2014-02-21 12:10:31 -08:00
zpios-profile Replace libexecdir with datadir 2013-03-06 15:46:40 -08:00
zpios-test Replace libexecdir with datadir 2013-03-06 15:46:40 -08:00
zpool-config Add default FILEDIR path to zpool-config scripts 2014-02-12 09:37:46 -08:00
.gitignore Remove autotools products 2012-08-27 11:47:44 -07:00
common.sh.in Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
cstyle.pl cstyle: Allow spaces in all comments 2013-12-18 16:46:35 -08:00
dkms.mkconf Use requested kernel for dkms builds 2013-03-21 12:51:06 -07:00
dkms.postinst Refresh RPM packaging 2013-03-18 15:33:17 -07:00
kmodtool Add kmod repo integration 2013-08-01 09:48:07 -07:00
Makefile.am Add zimport.sh compatibility test script 2014-02-21 12:10:31 -08:00
smb.sh Implemented sharing datasets via SMB using libshare 2012-12-03 09:42:15 -08:00
zconfig.sh Fix zconfig.sh test 9 2014-02-10 15:48:32 -08:00
zfault.sh Disable 90-zfs.rules for test suite 2011-10-11 14:45:37 -07:00
zfs2zol-patch.sed Add script to fix file names in upstream patches 2013-10-29 10:30:43 -07:00
zfs.sh Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
zimport.sh Add zimport.sh compatibility test script 2014-02-21 12:10:31 -08:00
zpios-sanity.sh Disable 90-zfs.rules for test suite 2011-10-11 14:45:37 -07:00
zpios-survey.sh Add linux zpios support 2010-08-31 13:42:01 -07:00
zpios.sh build: resolve orthographic and other grammatical errors 2013-04-02 10:44:52 -07:00
zpool-create.sh Add build system 2010-08-31 13:41:27 -07:00