| /freebsd/tools/regression/zfs/zpool/offline/ |
| H A D | option-t.t | 19 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 D | raidz1.t | 19 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 D | mirror.t | 19 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 D | raidz2.t | 19 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 D | log.t | 19 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/contrib/bc/ |
| H A D | configure | 369 # @param ext1 The extension to replace. 390 # @param files The list of space-separated filenames to replace extensions for. 391 # @param ext1 The extension to replace. 419 # @param str The string to find and replace placeholders in. 421 # @param replacement The string to use to replace the placeholder. 422 replace() { 494 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 505 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 1510 contents=$(replace "$contents" "INCLUDEDIR" "$INCLUDEDIR") 1511 contents=$(replace " 434 replace() { global() function [all...] |
| H A D | configure.sh | 369 # @param ext1 The extension to replace. 390 # @param files The list of space-separated filenames to replace extensions for. 391 # @param ext1 The extension to replace. 419 # @param str The string to find and replace placeholders in. 421 # @param replacement The string to use to replace the placeholder. 422 replace() { function 494 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 505 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 1510 contents=$(replace "$contents" "INCLUDEDIR" "$INCLUDEDIR") 1511 contents=$(replace "$contents" "LIBDIR" "$LIBDIR") [all …]
|
| /freebsd/tests/sys/cddl/zfs/tests/hotspare/ |
| H A D | hotspare_detach_003_pos.ksh | 36 # 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 D | hotspare_replace_001_neg.ksh | 35 # '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 D | hotspare_detach_004_pos.ksh | 36 # 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 D | hotspare_replace_002_neg.ksh | 35 # '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/sys/contrib/libsodium/regen-msvc/ |
| H A D | regen-msvc.py | 12 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/tools/regression/zfs/zpool/replace/ |
| H A D | raidz2.t | 25 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/ |
| H A D | replace_import.ksh | 25 # Verify that on import an in progress replace operation is resumed. 28 # 1. For both healing and sequential resilvering replace: 30 # b. Replace a vdev with 'zpool replace' to resilver (-s) it. 33 # e. Verify the 'zpool replace' resumed resilvering. 45 log_assert "Verify replace is resumed on import" 57 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[0]} $SPARE_VDEV_FILE 68 log_pass "Verify replace is resumed on import"
|
| H A D | rebuild_raidz.ksh | 29 # Executing 'zpool replace -s' for raidz vdevs failed. Sequential 33 # 1. Create a raidz pool, verify 'zpool replace -s' fails 34 # 2. Create a stripe/mirror pool, verify 'zpool replace -s' passes 56 log_mustnot zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} \ 63 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE 68 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE 73 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/ |
| H A D | zpool_wait_replace.ksh | 31 # 5. Repeat 2-4, except using the '-w' flag with 'zpool replace' instead of 58 # Test 'zpool wait -t replace' 59 log_must zpool replace $TESTPOOL $DISK2 $DISK3 60 log_bkgrnd zpool wait -t replace $TESTPOOL 64 # Test 'zpool replace -w' 65 log_bkgrnd zpool replace -w $TESTPOOL $DISK3 $DISK2 72 log_pass "'zpool wait -t replace' and 'zpool replace -w' work."
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
| H A D | import_cachefile_device_replaced.ksh | 24 # of a zpool replace operation at different stages in time. 33 # (Test 1. cachefile: pre-replace, pool: resilvering) 36 # (Test 2. cachefile: pre-replace, pool: post-replace) 39 # (Test 3. cachefile: resilvering, pool: post-replace) 79 log_note "$0: pool '$poolcreate', replace $replacevdev by $replaceby." 83 # Cachefile: pool in pre-replace state 92 log_must zpool replace $TESTPOOL1 $replacevdev $replaceby 105 # Test 1. Cachefile: pre-replace, pool: resilvering 117 # Test 2. Cachefile: pre-replace, pool: post-replace 124 # Test 3. Cachefile: resilvering, pool: post-replace
|
| /freebsd/contrib/less/ |
| H A D | evar.c | 17 struct replace { struct 18 struct replace *r_next; argument 42 static struct replace * make_replaces(mutable char *buf, size_t len, size_t *pe, char term) in make_replaces() argument 45 struct replace *replaces = NULL; in make_replaces() 49 struct replace *repl; in make_replaces() 73 repl = ecalloc(1, sizeof(struct replace)); in make_replaces() 84 * Free a list of replace structs. 86 static void free_replaces(struct replace *replaces) in free_replaces() 90 struct replace *r = replaces; in free_replaces() 115 * given a list of replace structs. [all …]
|
| /freebsd/contrib/libcbor/misc/ |
| H A D | update_version.py | 18 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/ |
| H A D | zpool_replace_001_neg.ksh | 39 # zpool replace returns an error when run as a user 42 # 1. Attempt to replace a device in a pool 59 log_assert "zpool replace returns an error when run as a user" 61 log_mustnot zpool replace $TESTPOOL.virt /$TESTDIR/disk-1.dat \ 65 log_mustnot zpool replace -f $TESTPOOL.virt /$TESTDIR/disk-1.dat \ 69 log_pass "zpool replace returns an error when run as a user"
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
| H A D | redundancy_draid_spare2.ksh | 50 # Replace vdev7 -> draid1-0-0 52 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev7 draid1-0-0 54 # Replace vdev8 -> draid1-0-1 56 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev8 draid1-0-1 58 # Replace vdev9 -> draid1-0-2 60 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev9 draid1-0-2
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_user/misc/ |
| H A D | zpool_replace_001_neg.ksh | 38 # 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_replace/ |
| H A D | replace-o_ashift.ksh | 34 # 'zpool replace -o ashift=<n> ...' should work with different ashift 39 # 2. Verify 'replace' works. 51 log_assert "zpool replace -o ashift=<n>' works with different ashift values" 73 log_must zpool replace $TESTPOOL1 $disk1 $disk2 86 log_mustnot zpool replace -o ashift=$badval $TESTPOOL1 $disk1 $disk2 92 log_pass "zpool replace -o ashift=<n>' works with different ashift values"
|
| /freebsd/usr.bin/env/ |
| H A D | env.1 | 253 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 with a <single quote> character. [all …]
|
| /freebsd/release/scripts/oracle/ |
| H A D | image_metadata.json | 14 "imageCapabilityData": "REPLACE", 16 "operatingSystem": "REPLACE", 17 "operatingSystemVersion": "REPLACE", 19 "shapeCompatibilities": "REPLACE"
|