Lines Matching refs:vdev

130  * to get the vdev stats associated with the imported devices.
381 * Make sure the vdev config is bootable
795 offsetof(struct vdev, vdev_txg_node));
874 * Verify a pool configuration, and construct the vdev tree appropriately. This
875 * will create all the necessary vdevs in the appropriate layout, with each vdev
877 * All vdev validation is done by the vdev_alloc() routine.
1059 * for basic validation purposes) and one in the active vdev
1061 * validate each vdev on the spare list. If the vdev also exists in the
1062 * active configuration, then we also mark this vdev as an active spare.
1080 * able to load the vdev. Otherwise, importing a pool
1169 * Retain previous vdev for add/remove ops.
1179 * Create new vdev
1187 * Commit this vdev as an l2cache device,
1276 * Checks to see if the given vdev could not be opened, in which case we post a
1345 * Compare the root vdev tree with the information we have
1346 * from the MOS config (mrvd). Check each top-level vdev
1356 * about the top-level vdev then use that vdev instead.
1380 * Swap the missing vdev with the data we were
1627 spa_vdev_err(vdev_t *vdev, vdev_aux_t aux, int err)
1629 vdev_set_state(vdev, B_TRUE, VDEV_STATE_CANT_OPEN, aux);
1642 * we do a reopen() call. If the vdev label for every disk that was
1672 if (glist[i] == 0) /* vdev is hole */
1814 * Parse the configuration into a vdev tree. We explicitly set the
1841 * We need to validate the vdev labels against the configuration that
1843 * mosconfig is true then we're validating the vdev labels based on
1847 * the vdev config.
1883 * If the vdev guid sum doesn't match the uberblock, we have an
2098 * Load the vdev state for all toplevel vdevs.
2140 * root vdev. If it can't be opened, it indicates one or
2330 * The stats information (gen/count/ustats) is used to gather vdev statistics at
2398 * information: the state of each vdev after the
2535 * Add l2cache device information to the nvlist, including vdev stats.
2657 * array of nvlists, each which describes a valid leaf vdev. If this is an
2890 * Create the root vdev.
3070 * Add this top-level vdev to the child array.
3079 * Put this pool's top-level vdevs into a root vdev.
3090 * Replace the existing vdev_tree with the new root vdev in
3099 * Walk the vdev tree and see if we can find a device with "better"
3135 * the vdev (e.g. "id1,sd@SSEAGATE..." or "/pci@1f,0/ide@d/disk@0,0:a").
3136 * The GRUB "findroot" command will return the vdev we should boot.
3190 * Build up a vdev tree based on the boot device's label config.
3207 * Get the boot vdev.
3210 cmn_err(CE_NOTE, "Can not find the boot vdev for guid %llu",
3229 * If the boot device is part of a spare vdev then ensure that
3724 * Transfer each new top-level vdev from vd to rvd.
3729 * Set the vdev id to the first hole, if one exists.
3783 * a device that is not mirrored, we automatically insert the mirror vdev.
3787 * mirror using the 'replacing' vdev, which is functionally identical to
3788 * the mirror vdev (it actually reuses all the same ops) but has a few
3842 * vdev.
3862 * want to create a replacing vdev. The user is not allowed to
3863 * attach to a spared vdev child unless the 'isspare' state is
3889 * than the top-level vdev.
3915 * mirror/replacing/spare vdev above oldvd.
3973 "%s vdev=%s %s vdev=%s",
3988 * Detach a device from a mirror or replacing vdev.
3990 * is a replacing vdev.
4020 * vdev that's replacing B with C. The user's intent in replacing
4028 * that C's parent is still the replacing vdev R.
4061 * If we are detaching the second disk from a replacing vdev, then
4062 * check to see if we changed the original vdev's path to have "/old"
4117 * do it now, marking the vdev as no longer a spare in the process.
4133 * If the parent mirror/replacing vdev only has one child,
4146 * may have been the previous top-level vdev.
4152 * Reevaluate the parent vdev state.
4160 * add metaslabs (i.e. grow the pool). We need to reopen the vdev
4190 "vdev=%s", vdpath);
4194 * If this was the removal of the original device in a hot spare vdev,
4241 vdev_t *rvd, **vml = NULL; /* vdev modify list */
4298 /* then, loop over each vdev and validate it */
4459 spa, tx, "vdev=%s",
4581 * associated with this vdev, and wait for these changes to sync.
4631 * Reassess the health of our root vdev.
4639 * Removing a device from the vdev namespace requires several steps
4707 * Stop allocating from this vdev.
4719 * Attempt to evacuate the vdev.
4726 * If we couldn't evacuate the vdev, unwind.
4734 * Clean up the vdev namespace.
4745 * There is no vdev of any kind with the specified guid.
4757 * Find any device that's done replacing, or a vdev marked 'unspare' that's
4773 * vdev in the list to be the oldest vdev, and the last one to be
4775 * the case where the newest vdev is faulted, we will not automatically
4872 * Update the stored path or FRU for this vdev.
5475 * If there are any pending vdev state changes, convert them
5484 * eliminate the aux vdev wart by integrating all vdevs
5485 * into the root vdev tree.
5575 * Rewrite the vdev configuration (which includes the uberblock)
5585 * We hold SCL_STATE to prevent vdev open/close/etc.
5586 * while we're attempting to write the vdev labels.
5829 * filled in from the spa and (optionally) the vdev. This doesn't do anything