Lines Matching defs:replacing
7438 * If 'replacing' is specified, the new device is intended to replace the
7440 * mirror using the 'replacing' vdev, which is functionally identical to
7451 spa_vdev_attach(spa_t *spa, uint64_t guid, nvlist_t *nvroot, int replacing,
7532 if ((error = vdev_create(newrootvd, txg, replacing)) != 0)
7568 if (!replacing) {
7593 * want to create a replacing vdev. The user is not allowed to
7687 * If the parent is not a mirror, or if we're replacing, insert the new
7688 * mirror/replacing/spare vdev above oldvd.
7799 replacing && newvd_isspare ? "spare in" :
7800 replacing ? "replace" : "attach", newvdpath,
7801 replacing ? "for" : "to", oldvdpath);
7810 * Detach a device from a mirror or replacing vdev.
7813 * is a replacing or a spare vdev.
7863 * Consider M(A,R(B,C)) -- that is, a mirror of A with a replacing
7864 * vdev that's replacing B with C. The user's intent in replacing
7872 * that C's parent is still the replacing vdev R.
7878 * Only 'replacing' or 'spare' vdevs can be replaced.
7888 * Only mirror, replacing, and spare vdevs support detach.
7905 * If we are detaching the second disk from a replacing vdev, then
7983 * If the parent mirror/replacing vdev only has one child,
8674 * Find any device that's done replacing, or a vdev marked 'unspare' that's
8771 * If we have just finished replacing a hot spared device, then
9070 * If any devices are done replacing, detach them.