Lines Matching refs:vdev

150 		 * vdev's guid then get it from the zhp config nvlist.
1094 * Create the named pool, using the provided vdev list. It is assumed
1272 * necessary verification to ensure that the vdev specification is well-formed.
1921 * Find a vdev that matches the search criteria specified. We use the
1970 * - looking for a top-level vdev name (i.e. ZPOOL_CONFIG_TYPE).
2017 * Determine our vdev type, keeping in mind
2019 * vdev id pair (i.e. mirror-4).
2054 * Now verify that we have the correct vdev id.
2081 * vdev, not the leaf vdevs. So we always lookup the
2082 * log device from the root of the vdev tree (where
2122 * associated vdev.
2147 * Determine if we have an "interior" top-level vdev (i.e mirror/raidz).
2253 * For a spare vdev, we only want to boot from the active
2317 * root pool can only have a single top-level vdev.
2383 * Bring the specified vdev online. The 'flags' parameter is a set of the
2457 * Take the specified vdev offline
2507 * Mark the given vdev faulted.
2542 * Mark the given vdev degraded.
2566 * Returns TRUE if the given nvlist is a vdev that was originally swapped in as
2676 * booting up a half-baked vdev.
2688 * Can't attach to or replace this type of vdev.
2747 * The resulting top-level vdev spec won't fit in the label.
2794 * Can't detach from this type of vdev.
2816 * Find a mirror vdev in the source nvlist.
2899 "Source pool is missing vdev tree"));
2915 nvlist_t **mchild, *vdev;
2929 * Create a hole vdev and put it in the config.
2931 if (nvlist_alloc(&vdev, NV_UNIQUE_NAME, 0) != 0)
2933 if (nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE,
2936 if (nvlist_add_uint64(vdev, ZPOOL_CONFIG_IS_HOLE,
2941 varray[vcount++] = vdev;
2957 /* find or add an entry for this top-level vdev */
2962 vdev = mchild[entry];
2965 /* User didn't specify a disk for this vdev. */
2966 vdev = mchild[mchildren - 1];
2969 if (nvlist_dup(vdev, &varray[vcount++], 0) != 0)
3311 * Issue the necessary ioctl() to update the stored path value for the vdev. We
3329 * Given a vdev, return the name to display in iostat. If the vdev has a path,
3339 * translation and issue the appropriate ioctl() to update the path of the vdev.
3439 * We identify each top-level vdev by using a <type-id>
3990 "vdev type '%s' is not supported"), type);
4065 "could not obtain vdev configuration for '%s'"), poolname);