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

1234567891011>>

/freebsd-current/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-current/tools/regression/zfs/zpool/replace/
H A Draidz2.t25 echo "action: Replace the device using 'zpool replace'."
39 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk4}
60 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk4}
102 expect_ok ${ZPOOL} replace ${name0} ${dname0} ${disk4}
125 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk4}
164 echo "action: Replace the device using 'zpool replace'."
178 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk4}
179 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk5}
200 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk4}
201 expect_ok ${ZPOOL} replace
[all...]
H A Draidz1.t25 echo "action: Replace the device using 'zpool replace'."
38 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk3}
58 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk3}
98 expect_ok ${ZPOOL} replace ${name0} ${dname0} ${disk3}
120 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk3}
H A Dspare.t25 expect_fl ${ZPOOL} replace ${name0} ${disk1} ${disk2}
H A Dlog.t25 echo "action: Replace the device using 'zpool replace'."
41 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk3}
62 expect_ok ${ZPOOL} replace ${name0} ${disk2} ${disk3}
108 expect_ok ${ZPOOL} replace ${name0} ${dname1} ${disk3}
131 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk3}
/freebsd-current/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
109 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev7 draid1-0-0
120 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev8 draid1-0-1
130 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev9 draid1-0-2
143 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev0 $new_vdev0
152 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev2 draid1-0-3
164 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev1 $new_vdev1
171 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-current/lib/libfigpar/
H A Dstring_m.c73 * Replaces all occurrences of `find' in `source' with `replace'.
90 replaceall(char *source, const char *find, const char *replace) argument
111 rlen = replace ? strlen(replace) : 0;
117 /* If replace is longer than find, we'll need to create a temp copy */
132 for (n = 0; replace && replace[n]; n++)
133 *p++ = replace[n];
/freebsd-current/contrib/kyua/utils/format/
H A Dformatter.hpp101 formatter replace(const std::string&) const;
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dscrub_after_resilver.ksh59 log_must zpool replace $TESTPOOL $DISK1 $DISK3
/freebsd-current/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 Dscrub_cancel.ksh89 log_must zpool replace $flags $TESTPOOL1 ${VDEV_FILES[1]} \
108 log_must zpool replace $flags -w $TESTPOOL1 $SPARE_VDEV_FILE \
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.
65 log_mustnot zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
70 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
/freebsd-current/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-current/usr.bin/bmake/tests/shell/replace/
H A DMakefile4 TESTSDIR= ${TESTSBASE}/usr.bin/bmake/shell/replace
/freebsd-current/contrib/unifdef/
H A Dunifdef.h44 #define replace(old,new) rename(old,new) macro
/freebsd-current/tests/sys/cddl/zfs/tests/hotspare/
H A Dhotspare_replace_002_neg.ksh35 # 'zpool replace <pool> <odev> <ndev>...' should return fail if
41 # 3. Try to replace the basic vdev with the smaller hot spares
42 # 4. Verify the the replace operation failes
69 log_mustnot $ZPOOL replace $TESTPOOL $odev $dev
73 log_assert "'zpool replace <pool> <odev> <ndev>' should fail while the hot spares smaller than the basic vdev."
92 log_pass "'zpool replace <pool> <odev> <ndev>' should fail while the hot spares smaller than the basic vdev."
/freebsd-current/tests/sys/cddl/zfs/tests/slog/
H A Dslog_006_pos.ksh68 log_must $ZPOOL replace $TESTPOOL $sdev $tdev
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_remove/
H A Dzpool_remove_003_pos.ksh40 # 2. Try to replace the inactive hotspare device to active device in the pool
80 log_must $ZPOOL replace $TESTPOOL $spare_devs2 $spare_devs3
/freebsd-current/contrib/llvm-project/lldb/bindings/python/
H A DcreatePythonInit.py22 import_names=importNames, pkg_name=pkgRelDir.replace("/", ".")
/freebsd-current/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-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_006_pos.ksh61 log_must zpool replace $TESTPOOL $sdev $tdev
/freebsd-current/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-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_011_neg.ksh53 attach detach replace scrub \
/freebsd-current/tests/sys/cddl/zfs/bin/
H A Dzpool_bsd.ksh15 create|add|attach|detach|replace|remove|online|offline|clear)

Completed in 271 milliseconds

1234567891011>>