diff options
author | Brian Behlendorf <[email protected]> | 2021-04-18 21:58:36 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-18 21:58:36 -0700 |
commit | 50d9ff93dfdb5052e0466729d1d2e1e627a56080 (patch) | |
tree | d5036a8626c4c16ee679c3e493c3a956cd6b194c /config/user.m4 | |
parent | 7c9702e2a7c04b0acf5fd51274daf25bd286c920 (diff) |
ZTS: Improve redundancy test scripts
- Add additional logging to provide more information about why the
test failed. This including logging more of the individual commands
and the contents and differences of the record files on failure.
- Updated get_vdevs() to properly exclude all top-level vdevs
including raidz3 and draid[1-3].
- Replaced gnudd with dd. This is the only remaining place in the
test suite gnudd is used and it shouldn't be needed.
- The refill_test_env function expects the pool as the first argument
but never sets the pool variable.
- Only fill the test pools to 50% of capacity instead of 75% to help
speed up the tests.
- Fix replace_missing_devs() calculation, MINDEVSIZE should be
MINVDEVSIZE.
- Fix damage_devs() so it overwrites almost all of the device so
we're guaranteed to damage filesystem blocks.
- redundancy_stripe.ksh should not use log_mustnot to check if the
pool is healthy since the return value may be misinterpreted.
Just perform a normal conditional check and log the failure.
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #11906
Diffstat (limited to 'config/user.m4')
0 files changed, 0 insertions, 0 deletions