Home
last modified time | relevance | path

Searched full:replace (Results 1 – 25 of 2743) sorted by relevance

12345678910>>...110

/freebsd-src/tools/regression/zfs/zpool/offline/
H A Doption-t.t19 echo "action: Online the device using 'zpool online' or replace the device with"
20 echo " 'zpool replace'."
39 echo "action: Online the device using 'zpool online' or replace the device with"
40 echo " 'zpool replace'."
63 echo "action: Online the device using 'zpool online' or replace the device with"
64 echo " 'zpool replace'."
101 echo "action: Online the device using 'zpool online' or replace the device with"
102 echo " 'zpool replace'."
123 echo "action: Online the device using 'zpool online' or replace the device with"
124 echo " 'zpool replace'."
[all …]
H A Draidz1.t19 echo "action: Online the device using 'zpool online' or replace the device with"
20 echo " 'zpool replace'."
42 echo "action: Online the device using 'zpool online' or replace the device with"
43 echo " 'zpool replace'."
66 echo "action: Online the device using 'zpool online' or replace the device with"
67 echo " 'zpool replace'."
89 echo "action: Online the device using 'zpool online' or replace the device with"
90 echo " 'zpool replace'."
112 echo "action: Online the device using 'zpool online' or replace the device with"
113 echo " 'zpool replace'."
[all …]
H A Dmirror.t19 echo "action: Online the device using 'zpool online' or replace the device with"
20 echo " 'zpool replace'."
42 echo "action: Online the device using 'zpool online' or replace the device with"
43 echo " 'zpool replace'."
66 echo "action: Online the device using 'zpool online' or replace the device with"
67 echo " 'zpool replace'."
92 echo "action: Online the device using 'zpool online' or replace the device with"
93 echo " 'zpool replace'."
118 echo "action: Online the device using 'zpool online' or replace the device with"
119 echo " 'zpool replace'."
[all …]
H A Draidz2.t19 echo "action: Online the device using 'zpool online' or replace the device with"
20 echo " 'zpool replace'."
43 echo "action: Online the device using 'zpool online' or replace the device with"
44 echo " 'zpool replace'."
67 echo "action: Online the device using 'zpool online' or replace the device with"
68 echo " 'zpool replace'."
94 echo "action: Online the device using 'zpool online' or replace the device with"
95 echo " 'zpool replace'."
120 echo "action: Online the device using 'zpool online' or replace the device with"
121 echo " 'zpool replace'."
[all …]
H A Dlog.t19 echo "action: Online the device using 'zpool online' or replace the device with"
20 echo " 'zpool replace'."
45 echo "action: Online the device using 'zpool online' or replace the device with"
46 echo " 'zpool replace'."
72 echo "action: Online the device using 'zpool online' or replace the device with"
73 echo " 'zpool replace'."
102 echo "action: Online the device using 'zpool online' or replace the device with"
103 echo " 'zpool replace'."
134 echo "action: Online the device using 'zpool online' or replace the device with"
135 echo " 'zpool replace'."
[all …]
/freebsd-src/tests/sys/cddl/zfs/tests/hotspare/
H A Dhotspare_detach_003_pos.ksh36 # and invoke "zpool replace" to replace the original device,
37 # then the spare is automatically removed once the replace completes
42 # 3. Do 'zpool replace' with the original device
43 # 4. Verify the original device will replace by the new device,
44 # and the spare should return to available once replace completes.
71 log_must $ZPOOL replace $TESTPOOL $odev $dev
73 log_must $ZPOOL replace -f $TESTPOOL $odev $ndev
83 log_must $ZPOOL replace $TESTPOOL $ndev $odev
87 log_assert "'zpool replace <pool> <vdev> <ndev>' against a functioning device that have spared shou…
102 log_pass "'zpool replace <pool> <vdev> <ndev>' against a functioning device that have spared succes…
H A Dhotspare_replace_001_neg.ksh35 # 'zpool replace <pool> <odev> <ndev>...' should return fail if
36 # - try to replace a basic vdev that already has an activated
38 # - try to replace log device.
43 # 3. For each scenario, try to replace the basic vdev with the given hot spares
44 # 4. Verify the the replace operation get failed
71 log_must $ZPOOL replace $TESTPOOL $odev $dev
72 log_mustnot $ZPOOL replace $TESTPOOL $odev $availdev
78 log_mustnot $ZPOOL replace $TESTPOOL $odev $dev
83 log_assert "'zpool replace <pool> <odev> <ndev>' should fail with inapplicable scenarios."
98 log_mustnot $ZPOOL replace $TESTPOOL $odev $ndev
[all …]
H A Dhotspare_detach_004_pos.ksh36 # and invoke "zpool replace" with this hot spare to another hot spare,
41 # 2. Activate a hot spare by 'zpool replace' with the basic dev,
43 # 3. Do 'zpool replace' with the hot spare to another AVAIL hot spare.
76 log_must $ZPOOL replace $TESTPOOL $odev $dev
80 log_must $ZPOOL replace $TESTPOOL $dev $ndev
88 log_assert "'zpool replace <pool> <vdev> <ndev>' against a hot spare device that have been activate…
103 log_pass "'zpool replace <pool> <vdev> <ndev>' against a hot spare device that have been activated …
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 …
92 log_pass "'zpool replace <pool> <odev> <ndev>' should fail while the hot spares smaller than the ba…
/freebsd-src/contrib/bc/
H A Dconfigure383 # @param ext1 The extension to replace.
404 # @param files The list of space-separated filenames to replace extensions for.
405 # @param ext1 The extension to replace.
433 # @param str The string to find and replace placeholders in.
435 # @param replacement The string to use to replace the placeholder.
436 replace() {
510 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
521 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
525 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
529 _gen_file_list_contents=$(replace "
434 replace() { global() function
[all...]
H A Dconfigure.sh383 # @param ext1 The extension to replace.
404 # @param files The list of space-separated filenames to replace extensions for.
405 # @param ext1 The extension to replace.
433 # @param str The string to find and replace placeholders in.
435 # @param replacement The string to use to replace the placeholder.
436 replace() {
510 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
521 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
525 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
529 _gen_file_list_contents=$(replace "
434 replace() { global() function
[all...]
/freebsd-src/sys/contrib/libsodium/regen-msvc/
H A Dregen-msvc.py12 file = file.replace("/", "\\")
17 file = file.replace("/", "\\")
22 file = file.replace("/", "\\")
29 file = file.replace("/", "\\")
36 file = file.replace("/", "\\")
42 file = file.replace("/", "\\")
48 basedir = os.path.dirname(file).replace("src/libsodium/", "")
53 basedir = basedir.replace("/", "\\")
54 file = file.replace("/", "\\")
61 basedir = os.path.dirname(file).replace("src/libsodium/", "")
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/
H A Dreplace_import.ksh24 # Verify that on import an in progress replace operation is resumed.
27 # 1. For both healing and sequential resilvering replace:
29 # b. Replace a vdev with 'zpool replace' to resilver (-s) it.
32 # e. Verify the 'zpool replace' resumed resilvering.
44 log_assert "Verify replace is resumed on import"
56 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[0]} $SPARE_VDEV_FILE
67 log_pass "Verify replace is resumed on import"
H A Drebuild_raidz.ksh28 # Executing 'zpool replace -s' for raidz vdevs failed. Sequential
32 # 1. Create a raidz pool, verify 'zpool replace -s' fails
33 # 2. Create a stripe/mirror pool, verify 'zpool replace -s' passes
55 log_mustnot zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} \
62 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
67 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
72 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
/freebsd-src/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-src/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 ${name0} ${disk2} ${disk5}
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dimport_cachefile_device_replaced.ksh23 # of a zpool replace operation at different stages in time.
32 # (Test 1. cachefile: pre-replace, pool: resilvering)
35 # (Test 2. cachefile: pre-replace, pool: post-replace)
38 # (Test 3. cachefile: resilvering, pool: post-replace)
78 log_note "$0: pool '$poolcreate', replace $replacevdev by $replaceby."
82 # Cachefile: pool in pre-replace state
91 log_must zpool replace $TESTPOOL1 $replacevdev $replaceby
104 # Test 1. Cachefile: pre-replace, pool: resilvering
116 # Test 2. Cachefile: pre-replace, pool: post-replace
123 # Test 3. Cachefile: resilvering, pool: post-replace
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/
H A Dzpool_replace_001_neg.ksh38 # zpool replace returns an error when run as a user
41 # 1. Attempt to replace a device in a pool
58 log_assert "zpool replace returns an error when run as a user"
60 log_mustnot zpool replace $TESTPOOL.virt /$TESTDIR/disk-1.dat \
64 log_mustnot zpool replace -f $TESTPOOL.virt /$TESTDIR/disk-1.dat \
68 log_pass "zpool replace returns an error when run as a user"
/freebsd-src/contrib/libcbor/misc/
H A Dupdate_version.py18 def replace(file_path, pattern, replacement): function
30 replace('CHANGELOG.md', NEXT, changelog_header)
34 replace('Doxyfile', DOXY_VERSION + '.*', DOXY_VERSION + version)
37 replace('CMakeLists.txt',
46 replace('examples/bazel/third_party/libcbor/cbor/configuration.h',
55 replace('doc/source/conf.py',
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy_draid_spare2.ksh49 # Replace vdev7 -> draid1-0-0
51 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev7 draid1-0-0
53 # Replace vdev8 -> draid1-0-1
55 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev8 draid1-0-1
57 # Replace vdev9 -> draid1-0-2
59 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev9 draid1-0-2
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_replace/
H A Dreplace-o_ashift.ksh33 # 'zpool replace -o ashift=<n> ...' should work with different ashift
38 # 2. Verify 'replace' works.
50 log_assert "zpool replace -o ashift=<n>' works with different ashift values"
72 log_must zpool replace $TESTPOOL1 $disk1 $disk2
85 log_mustnot zpool replace -o ashift=$badval $TESTPOOL1 $disk1 $disk2
91 log_pass "zpool replace -o ashift=<n>' works with different ashift values"
/freebsd-src/tests/sys/cddl/zfs/tests/cli_user/misc/
H A Dzpool_replace_001_neg.ksh38 # zpool replace returns an error when run as a user
41 # 1. Attempt to replace a device in a pool
67 log_assert "zpool replace returns an error when run as a user"
69 log_mustnot run_unprivileged "$ZPOOL replace $TESTPOOL.virt /$TESTDIR/disk-1.dat /$TESTDIR/disk-add…
72 log_mustnot run_unprivileged "$ZPOOL replace -f $TESTPOOL.virt /$TESTDIR/disk-1.dat /$TESTDIR/disk-…
75 log_pass "zpool replace returns an error when run as a user"
/freebsd-src/usr.bin/env/
H A Denv.1253 Replace with a <form-feed> character.
255 Replace with a <new-line> character.
257 Replace with a <carriage return> character.
259 Replace with a <tab> character.
261 Replace with a <vertical tab> character.
263 Replace with a
272 Replace with a
276 If this is found inside of a double-quoted string, then replace it
282 Replace with a <double quote> character.
284 Replace wit
[all...]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dauto_replace_001_pos.ksh31 # Testing Fault Management Agent ZED Logic - Automated Auto-Replace Test.
36 # 2. Create a pool and set autoreplace=on (auto-replace is opt-in)
47 # Auto-replace is opt in, and matches by phys_path.
64 log_assert "Testing automated auto-replace FMA test"
83 # Auto-replace is opt-in so need to set property
123 # Validate auto-replace was successful
140 log_pass "Auto-replace test successful"
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DIntegerDivision.h31 /// Replace Rem with generated code.
40 /// Replace Div with generated code.
48 /// Replace Rem with generated code.
54 /// Replace Rem with generated code.
61 /// Replace Rem with generated code.
67 /// Replace Rem with generated code.

12345678910>>...110