Lines Matching refs:vdev

146 		 * vdev's guid then get it from the zhp config nvlist.
872 * Create the named pool, using the provided vdev list. It is assumed
1050 * necessary verification to ensure that the vdev specification is well-formed.
1667 * Find a vdev that matches the search criteria specified. We use the
1716 * - looking for a top-level vdev name (i.e. ZPOOL_CONFIG_TYPE).
1763 * Determine our vdev type, keeping in mind
1765 * vdev id pair (i.e. mirror-4).
1800 * Now verify that we have the correct vdev id.
1827 * vdev, not the leaf vdevs. So we always lookup the
1828 * log device from the root of the vdev tree (where
1868 * associated vdev.
1893 * Determine if we have an "interior" top-level vdev (i.e mirror/raidz).
1998 * For a spare vdev, we only want to boot from the active
2062 * a single top-level vdev.
2129 * Bring the specified vdev online. The 'flags' parameter is a set of the
2203 * Take the specified vdev offline
2253 * Mark the given vdev faulted.
2288 * Mark the given vdev degraded.
2312 * Returns TRUE if the given nvlist is a vdev that was originally swapped in as
2432 * booting up a half-baked vdev.
2444 * Can't attach to or replace this type of vdev.
2503 * The resulting top-level vdev spec won't fit in the label.
2550 * Can't detach from this type of vdev.
2572 * Find a mirror vdev in the source nvlist.
2655 "Source pool is missing vdev tree"));
2672 nvlist_t **mchild, *vdev;
2686 * Create a hole vdev and put it in the config.
2688 if (nvlist_alloc(&vdev, NV_UNIQUE_NAME, 0) != 0)
2690 if (nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE,
2693 if (nvlist_add_uint64(vdev, ZPOOL_CONFIG_IS_HOLE,
2698 varray[vcount++] = vdev;
2714 /* find or add an entry for this top-level vdev */
2719 vdev = mchild[entry];
2722 /* User didn't specify a disk for this vdev. */
2723 vdev = mchild[mchildren - 1];
2726 if (nvlist_dup(vdev, &varray[vcount++], 0) != 0)
3028 * Issue the necessary ioctl() to update the stored path value for the vdev. We
3046 * Given a vdev, return the name to display in iostat. If the vdev has a path,
3056 * translation and issue the appropriate ioctl() to update the path of the vdev.
3156 * We identify each top-level vdev by using a <type-id>
3708 "vdev type '%s' is not supported"), type);
3779 "could not obtain vdev configuration for '%s'"), poolname);