Lines Matching defs:replacing
4459 * If 'replacing' is specified, the new device is intended to replace the
4461 * mirror using the 'replacing' vdev, which is functionally identical to
4468 spa_vdev_attach(spa_t *spa, uint64_t guid, nvlist_t *nvroot, int replacing)
4504 if ((error = vdev_create(newrootvd, txg, replacing)) != 0)
4513 if (!replacing) {
4536 * want to create a replacing vdev. The user is not allowed to
4588 * If the parent is not a mirror, or if we're replacing, insert the new
4589 * mirror/replacing/spare vdev above oldvd.
4655 replacing && newvd_isspare ? "spare in" :
4656 replacing ? "replace" : "attach", newvdpath,
4657 replacing ? "for" : "to", oldvdpath);
4666 * Detach a device from a mirror or replacing vdev.
4669 * is a replacing vdev.
4698 * Consider M(A,R(B,C)) -- that is, a mirror of A with a replacing
4699 * vdev that's replacing B with C. The user's intent in replacing
4707 * that C's parent is still the replacing vdev R.
4713 * Only 'replacing' or 'spare' vdevs can be replaced.
4723 * Only mirror, replacing, and spare vdevs support detach.
4740 * If we are detaching the second disk from a replacing vdev, then
4812 * If the parent mirror/replacing vdev only has one child,
5427 * Find any device that's done replacing, or a vdev marked 'unspare' that's
5521 * If we have just finished replacing a hot spared device, then
5769 * If any devices are done replacing, detach them.