Changeset View
Changeset View
Standalone View
Standalone View
head/tests/sys/cddl/zfs/tests/redundancy/redundancy_001_pos.ksh
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | |||||
# | # | ||||
# __stc_assertion_end | # __stc_assertion_end | ||||
# | # | ||||
################################################################################ | ################################################################################ | ||||
verify_runnable "global" | verify_runnable "global" | ||||
log_assert "Verify raidz pool can withstand one device is failing." | log_assert "Verify raidz pool can withstand one device is failing." | ||||
log_onexit cleanup | |||||
for cnt in 3 2; do | for cnt in 3 2; do | ||||
setup_test_env $TESTPOOL raidz $cnt | setup_test_env $TESTPOOL raidz $cnt | ||||
# | # | ||||
# Inject data corruption error for raidz pool | # Inject data corruption error for raidz pool | ||||
# | # | ||||
damage_devs $TESTPOOL 1 "label" | damage_devs $TESTPOOL 1 "label" | ||||
Show All 18 Lines |