Lines Matching refs:vdev

152 		 * vdev's guid then get it from the zhp config nvlist.
1120 * Create the named pool, using the provided vdev list. It is assumed
1340 * necessary verification to ensure that the vdev specification is well-formed.
2014 /* translate vdev names to guids */
2114 * Find a vdev that matches the search criteria specified. We use the
2164 * - looking for a top-level vdev name (i.e. ZPOOL_CONFIG_TYPE).
2217 * Determine our vdev type, keeping in mind
2219 * vdev id pair (i.e. mirror-4).
2251 * Now verify that we have the correct vdev id.
2278 * vdev, not the leaf vdevs. So we always lookup the
2279 * log device from the root of the vdev tree (where
2319 * associated vdev.
2344 * Determine if we have an "interior" top-level vdev (i.e mirror/raidz).
2452 * For a spare vdev, we only want to boot from the active
2516 * root pool can only have a single top-level vdev.
2584 * Bring the specified vdev online. The 'flags' parameter is a set of the
2657 * Take the specified vdev offline
2707 * Mark the given vdev faulted.
2742 * Mark the given vdev degraded.
2766 * Returns TRUE if the given nvlist is a vdev that was originally swapped in as
2876 * booting up a half-baked vdev.
2898 * Can't attach to or replace this type of vdev.
2958 * The resulting top-level vdev spec won't fit in the label.
3005 * Can't detach from this type of vdev.
3027 * Find a mirror vdev in the source nvlist.
3110 "Source pool is missing vdev tree"));
3126 nvlist_t **mchild, *vdev;
3140 * Create a hole vdev and put it in the config.
3142 if (nvlist_alloc(&vdev, NV_UNIQUE_NAME, 0) != 0)
3144 if (nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE,
3147 if (nvlist_add_uint64(vdev, ZPOOL_CONFIG_IS_HOLE,
3152 varray[vcount++] = vdev;
3168 /* find or add an entry for this top-level vdev */
3173 vdev = mchild[entry];
3176 /* User didn't specify a disk for this vdev. */
3177 vdev = mchild[mchildren - 1];
3180 if (nvlist_dup(vdev, &varray[vcount++], 0) != 0)
3590 * Issue the necessary ioctl() to update the stored path value for the vdev. We
3608 * Given a vdev, return the name to display in iostat. If the vdev has a path,
3618 * translation and issue the appropriate ioctl() to update the path of the vdev.
3734 * We identify each top-level vdev by using a <type-id>
4272 * from existing vdev member.
4392 "vdev type '%s' is not supported"), type);
4467 "could not obtain vdev configuration for '%s'"), poolname);