Lines Matching defs:mirror
766 { 'm', "mirror-copies", "INTEGER", "Number of mirror copies",
1392 nvlist_t *mirror, **child;
1403 mirror = fnvlist_alloc();
1404 fnvlist_add_string(mirror, ZPOOL_CONFIG_TYPE, VDEV_TYPE_MIRROR);
1405 fnvlist_add_nvlist_array(mirror, ZPOOL_CONFIG_CHILDREN,
1413 return (mirror);
1436 ASSERT(m > 1 || log); /* expecting a mirror */
3044 * Attempt to create using a bad mirror.
3604 * split a pool if it has mirror tlvdevs
3779 /* pick a child from the mirror */
3797 * mirror vdev -- in which case, pick a random child.
3874 * If pvd is not a mirror or root, the attach should fail with ENOTSUP,
6660 * the mirror/raidz.