zfs/tests/zfs-tests/include
David Quigley d9daa7abcf ZTS: Add auto-spare tests
The ZED is expected to automatically kick in a hot spare device
when there's one available in the pool and a sufficient number of
read errors have been encountered.  Use zinject to simulate the
failure condition and verify the hot spare is used.

auto_spare_001_pos.ksh: read IO errors, the vdev is FAULTED
auto_spare_002_pos.ksh: read CHECKSUM errors, the vdev is DEGRADE

Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: David Quigley <david.quigley@intel.com>
Closes #6280
2017-10-23 11:42:37 -07:00
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
Makefile.am Fix bug in distclean which removes needed files 2017-09-13 11:45:04 -07:00
commands.cfg Encryption patch follow-up 2017-10-11 16:54:48 -04:00
default.cfg.in Emit history events for 'zpool create' 2017-10-23 09:45:59 -07:00
libtest.shlib ZTS: Add auto-spare tests 2017-10-23 11:42:37 -07:00
math.shlib OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
properties.shlib Disable nbmand tests on kernels w/o support 2017-07-24 11:03:50 -07:00
zpool_script.shlib Prebaked scripts for zpool status/iostat -c 2017-04-21 09:27:04 -07:00