Searched refs:replace (Results 26 - 50 of 265) sorted by relevance

1234567891011

/freebsd-13-stable/tools/regression/zfs/zpool/replace/
H A Ddisk.t13 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk1}
30 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk3}
H A Draidz2.t26 echo "action: Replace the device using 'zpool replace'."
40 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk4}
61 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk4}
103 expect_ok ${ZPOOL} replace ${name0} ${dname0} ${disk4}
126 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk4}
165 echo "action: Replace the device using 'zpool replace'."
179 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk4}
180 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk5}
201 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk4}
202 expect_ok ${ZPOOL} replace
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_replace/
H A Dreplace_prop_ashift.ksh33 # 'zpool replace' should use the ashift pool property value as default.
37 # 2. Verify 'zpool replace' uses the ashift pool property value when
52 log_assert "'zpool replace' uses the ashift pool property value as default."
78 log_must zpool replace $TESTPOOL1 $disk1 $disk2
87 # cannot replace if pool prop ashift > vdev ashift
88 log_mustnot zpool replace $TESTPOOL1 $disk1 $disk2
90 log_must zpool replace -o ashift=$ashift $TESTPOOL1 \
107 log_pass "'zpool replace' uses the ashift pool property value."
H A Dreplace-o_ashift.ksh33 # 'zpool replace -o ashift=<n> ...' should work with different ashift
38 # 2. Verify 'replace -o ashift=<n>' works only with allowed values.
50 log_assert "zpool replace -o ashift=<n>' works with different ashift values"
81 log_must zpool replace -o ashift=$cmdval $TESTPOOL1 \
91 log_mustnot zpool replace -o ashift=$cmdval $TESTPOOL1 \
105 log_mustnot zpool replace -o ashift=$badval $TESTPOOL1 $disk1 $disk2
111 log_pass "zpool replace -o ashift=<n>' works with different ashift values"
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/
H A Dzpool_wait_replace.ksh30 # 5. Repeat 2-4, except using the '-w' flag with 'zpool replace' instead of
57 # Test 'zpool wait -t replace'
58 log_must zpool replace $TESTPOOL $DISK2 $DISK3
59 log_bkgrnd zpool wait -t replace $TESTPOOL
63 # Test 'zpool replace -w'
64 log_bkgrnd zpool replace -w $TESTPOOL $DISK3 $DISK2
71 log_pass "'zpool wait -t replace' and 'zpool replace -w' work."
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy_draid_spare3.ksh35 # c. Systematically fault and replace vdevs in the pools with
113 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev7 draid1-0-0
124 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev8 draid1-0-1
134 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev9 draid1-0-2
147 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev0 $new_vdev0
156 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev2 draid1-0-3
168 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev1 $new_vdev1
175 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev3 draid1-0-4
H A Dredundancy_draid_spare2.ksh51 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev7 draid1-0-0
55 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev8 draid1-0-1
59 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev9 draid1-0-2
/freebsd-13-stable/lib/libfigpar/
H A Dstring_m.c76 * Replaces all occurrences of `find' in `source' with `replace'.
93 replaceall(char *source, const char *find, const char *replace) argument
114 rlen = replace ? strlen(replace) : 0;
120 /* If replace is longer than find, we'll need to create a temp copy */
135 for (n = 0; replace && replace[n]; n++)
136 *p++ = replace[n];
/freebsd-13-stable/contrib/llvm-project/lldb/bindings/python/
H A DcreatePythonInit.py13 """.format(import_names=importNames, pkg_name=pkgRelDir.replace("/", "."))
/freebsd-13-stable/contrib/kyua/utils/format/
H A Dformatter.hpp101 formatter replace(const std::string&) const;
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_export/
H A Dzpool_export_004_pos.ksh74 log_must zpool replace $TESTPOOL1 $vdev0 $vdev4
79 log_must zpool replace $TESTPOOL1 $vdev0 $vdev4
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dscrub_after_resilver.ksh59 log_must zpool replace $TESTPOOL $DISK1 $DISK3
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/
H A Drebuild_multiple.ksh80 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
81 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[3]} $SPARE_VDEV_FILE2
106 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
107 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[3]} $SPARE_VDEV_FILE2
H A Drebuild_disabled_feature.ksh28 # 2. Verify 'zpool replace -s' fails and the feature is disabled.
30 # 4. Verify 'zpool replace -s' works and the feature is active.
66 log_mustnot zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
71 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
H A Dscrub_cancel.ksh89 log_must zpool replace $flags $TESTPOOL1 ${VDEV_FILES[1]} \
108 log_must zpool replace $flags -w $TESTPOOL1 $SPARE_VDEV_FILE \
/freebsd-13-stable/usr.bin/bmake/tests/shell/replace/
H A DMakefile5 TESTSDIR= ${TESTSBASE}/usr.bin/bmake/shell/replace
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_remove/
H A Dzpool_remove_003_pos.ksh45 # 2. Try to replace the inactive hotspare device to active device in the pool
85 log_must $ZPOOL replace $TESTPOOL $spare_devs2 $spare_devs3
/freebsd-13-stable/tests/sys/cddl/zfs/tests/hotspare/
H A Dhotspare_replace_002_neg.ksh40 # 'zpool replace <pool> <odev> <ndev>...' should return fail if
46 # 3. Try to replace the basic vdev with the smaller hot spares
47 # 4. Verify the the replace operation failes
74 log_mustnot $ZPOOL replace $TESTPOOL $odev $dev
78 log_assert "'zpool replace <pool> <odev> <ndev>' should fail while the hot spares smaller than the basic vdev."
97 log_pass "'zpool replace <pool> <odev> <ndev>' should fail while the hot spares smaller than the basic vdev."
/freebsd-13-stable/tests/sys/cddl/zfs/tests/slog/
H A Dslog_006_pos.ksh73 log_must $ZPOOL replace $TESTPOOL $sdev $tdev
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/alloc_class/
H A Dalloc_class_007_pos.ksh36 log_must zpool replace $TESTPOOL $CLASS_DISK1 $CLASS_DISK2
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cache/
H A Dcache_005_neg.ksh42 # 3. Verify replace fails
58 log_mustnot zpool replace $TESTPOOL $sdev $tdev
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_011_neg.ksh53 attach detach replace scrub \
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_006_pos.ksh61 log_must zpool replace $TESTPOOL $sdev $tdev
/freebsd-13-stable/tests/sys/cddl/zfs/bin/
H A Dzpool_bsd.ksh17 create|add|attach|detach|replace|remove|online|offline|clear)
H A Dzpool_smi.ksh106 create|add|attach|detach|replace|remove|online|offline|clear)
129 create|add|attach|replace)

Completed in 264 milliseconds

1234567891011