Searched defs:replacing (Results 1 - 7 of 7) sorted by relevance
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_vdev.c | 630 * If this is a replacing or spare vdev, then 1033 boolean_t replacing, boolean_t isspare) 1055 if (replacing) { 1076 if (is_device_in_use(config, child[c], force, replacing, 1083 if (is_device_in_use(config, child[c], force, replacing, 1090 if (is_device_in_use(config, child[c], force, replacing, 1422 boolean_t replacing, boolean_t dryrun, int argc, char **argv) 1445 if (is_device_in_use(poolconfig, newroot, force, replacing, B_FALSE)) { 1032 is_device_in_use(nvlist_t *config, nvlist_t *nv, boolean_t force, boolean_t replacing, boolean_t isspare) argument 1421 make_root_vdev(zpool_handle_t *zhp, int force, int check_rep, boolean_t replacing, boolean_t dryrun, int argc, char **argv) argument
|
H A D | zpool_main.c | 3179 zpool_do_attach_or_replace(int argc, char **argv, int replacing) argument 3221 if (!replacing) { 3250 nvroot = make_root_vdev(zhp, force, B_FALSE, replacing, B_FALSE, 3257 ret = zpool_vdev_attach(zhp, old_disk, new_disk, nvroot, replacing);
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_filter.c | 557 boolean_t replacing = B_FALSE; local 648 replacing = B_TRUE; 664 * On replacing the filter handle may change after after a successful 667 if (replacing) { 687 if (replacing) { 710 if (!replacing) {
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 2595 * If 'replacing' is specified, the new disk will replace the old one. 2599 const char *old_disk, const char *new_disk, nvlist_t *nvroot, int replacing) 2614 if (replacing) 2633 zc.zc_cookie = replacing; 2652 if (replacing && 2690 if (replacing) { 2699 "already in replacing/spare config; wait " 2703 "cannot replace a replacing device")); 2797 "applicable to mirror and replacing vdevs")); 2598 zpool_vdev_attach(zpool_handle_t *zhp, const char *old_disk, const char *new_disk, nvlist_t *nvroot, int replacing) argument
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa.c | 4576 * If 'replacing' is specified, the new device is intended to replace the 4578 * mirror using the 'replacing' vdev, which is functionally identical to 4585 spa_vdev_attach(spa_t *spa, uint64_t guid, nvlist_t *nvroot, int replacing) argument 4621 if ((error = vdev_create(newrootvd, txg, replacing)) != 0) 4630 if (!replacing) { 4653 * want to create a replacing vdev. The user is not allowed to 4705 * If the parent is not a mirror, or if we're replacing, insert the new 4706 * mirror/replacing/spare vdev above oldvd. 4772 replacing && newvd_isspare ? "spare in" : 4773 replacing [all...] |
H A D | zfs_ioctl.c | 90 * caller's buffer, by removing some entries and replacing them with a 1947 int replacing = zc->zc_cookie; local 1956 error = spa_vdev_attach(spa, zc->zc_guid, config, replacing);
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 2763 int replacing; local 2777 replacing = ztest_random(2); 2865 * unless it's a replace; in that case any non-replacing parent is OK. 2872 pvd->vdev_ops != &vdev_root_ops && (!replacing || 2876 else if (newvd_is_spare && (!replacing || oldvd_is_log)) 2879 expected_error = replacing ? 0 : EBUSY; 2897 error = spa_vdev_attach(spa, oldguid, root, replacing); 2902 * If our parent was the replacing vdev, but the replace completed, 2921 newsize, replacing, error, expected_error);
|
Completed in 169 milliseconds