Lines Matching refs:replacing
6657 * If 'replacing' is specified, the new device is intended to replace the
6659 * mirror using the 'replacing' vdev, which is functionally identical to
6670 spa_vdev_attach(spa_t *spa, uint64_t guid, nvlist_t *nvroot, int replacing,
6730 if ((error = vdev_create(newrootvd, txg, replacing)) != 0)
6764 if (!replacing) {
6787 * want to create a replacing vdev. The user is not allowed to
6836 * If the parent is not a mirror, or if we're replacing, insert the new
6837 * mirror/replacing/spare vdev above oldvd.
6922 replacing && newvd_isspare ? "spare in" :
6923 replacing ? "replace" : "attach", newvdpath,
6924 replacing ? "for" : "to", oldvdpath);
6933 * Detach a device from a mirror or replacing vdev.
6936 * is a replacing vdev.
6986 * Consider M(A,R(B,C)) -- that is, a mirror of A with a replacing
6987 * vdev that's replacing B with C. The user's intent in replacing
6995 * that C's parent is still the replacing vdev R.
7001 * Only 'replacing' or 'spare' vdevs can be replaced.
7011 * Only mirror, replacing, and spare vdevs support detach.
7028 * If we are detaching the second disk from a replacing vdev, then
7106 * If the parent mirror/replacing vdev only has one child,
7794 * Find any device that's done replacing, or a vdev marked 'unspare' that's
7891 * If we have just finished replacing a hot spared device, then
8161 * If any devices are done replacing, detach them.