Searched refs:raidz (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/test/zfs-tests/tests/functional/redundancy/
H A Dredundancy_001_pos.ksh36 # A raidz pool can withstand at most 1 device failing or missing.
40 # 2. Create raidz pool based on the virtual disk files.
44 # 6. Verify the data is correct to prove raidz can withstand 1 devicd is
50 log_assert "Verify raidz pool can withstand one device is failing."
54 setup_test_env $TESTPOOL raidz $cnt
57 # Inject data corruption error for raidz pool
64 # Inject bad device error for raidz pool
71 # Inject missing device error for raidz pool
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_clear/
H A Dzpool_clear_003_neg.ksh68 log_must zpool create $TESTPOOL1 raidz $TESTDIR/file.1 $TESTDIR/file.2 \
/illumos-gate/usr/src/cmd/ztest/
H A Dzloop.bash161 raidz=0
167 raidz=$((((RANDOM % 9) + parity + 1) * (RANDOM % 2)))
176 zopt="$zopt -r $raidz"
H A Dztest.c871 nvlist_t *raidz, **child; local
881 VERIFY(nvlist_alloc(&raidz, NV_UNIQUE_NAME, 0) == 0);
882 VERIFY(nvlist_add_string(raidz, ZPOOL_CONFIG_TYPE,
884 VERIFY(nvlist_add_uint64(raidz, ZPOOL_CONFIG_NPARITY,
886 VERIFY(nvlist_add_nvlist_array(raidz, ZPOOL_CONFIG_CHILDREN,
894 return (raidz);
2664 /* ensure we have a useable config; mirrors of raidz aren't supported */
5000 * the mirror/raidz.
/illumos-gate/usr/src/test/zfs-tests/tests/functional/bootfs/
H A Dbootfs_006_pos.ksh40 # 1. create pools of each vdev type (raid, raidz, raidz2, mirror + hotspares)
130 # raidz
131 log_must zpool create $TESTPOOL raidz $VDEV1 $VDEV2
134 # raidz + hotspare
135 log_must zpool create $TESTPOOL raidz $VDEV1 $VDEV2 spare $VDEV3
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_expand/
H A Dzpool_expand_003_neg.ksh72 for type in " " mirror raidz raidz2; do
H A Dzpool_expand_001_pos.ksh72 for type in " " mirror raidz raidz2; do
H A Dzpool_expand_002_pos.ksh73 for type in " " mirror raidz raidz2; do
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_007_pos.ksh37 # For raidz, one destroyed pools devices was removed or used by other
41 # 1. Create a raidz pool A with N disks.
44 # 4. Verify import this raidz pool can succeed.
62 log_assert "For raidz, one destroyed pools devices was removed or used by " \
66 log_must zpool create $TESTPOOL1 raidz $VDEV0 $VDEV1 $VDEV2 $VDIV3
84 log_note "For raidz, two destroyed pool's devices were used, import failed."
90 log_pass "zpool import -D raidz passed."
H A Dzpool_import_010_pos.ksh43 # 4. Create a raidz pool D with dev3/4. Then destroy it.
80 log_must zpool create $poolD raidz $VDEV3 $VDEV4
/illumos-gate/usr/src/test/zfs-tests/tests/functional/online_offline/
H A Donline_offline_002_neg.ksh40 # 1. Start some random I/O on the mirror or raidz.
78 # The setup script will give us either a mirror or a raidz. The former can have
79 # all but one vdev offlined, whereas with raidz there can be only one.
82 zpool list -v $TESTPOOL | grep raidz >/dev/null 2>&1 && pooltype='raidz'
102 elif [[ $pooltype = 'raidz' ]]; then
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_001_pos.ksh70 set -A keywords "" "mirror" "raidz" "raidz1"
120 raidz|raidz1)
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dzpool_add_001_pos.ksh60 set -A keywords "" "mirror" "raidz" "raidz1" "spare"
112 raidz|raidz1)

Completed in 110 milliseconds