Lines Matching refs:vdev

219 		return (gettext("\tadd [-fn] <pool> <vdev> ...\n"));
230 "<pool> <vdev> ...\n"));
254 return (gettext("\tlabelclear [-f] <vdev>\n"));
515 * zpool add [-fn] <pool> <vdev> ...
564 (void) fprintf(stderr, gettext("missing vdev specification\n"));
630 * zpool remove <pool> <vdev> ...
632 * Removes the given vdev from the pool.
727 * zpool labelclear [-f] <vdev>
732 * Verifies that the vdev is not active and zeros out the label information
738 char vdev[MAXPATHLEN];
763 /* get vdev name */
765 (void) fprintf(stderr, gettext("missing vdev name\n"));
775 * Otherwise if the provided vdev name doesn't point to a file,
778 (void) strlcpy(vdev, argv[0], sizeof (vdev));
779 if (vdev[0] != '/' && stat(vdev, &st) != 0) {
782 (void) snprintf(vdev, sizeof (vdev), "%s/%s",
787 (void) strlcat(vdev, "s0", sizeof (vdev));
791 if (stat(vdev, &st) != 0) {
799 if ((fd = open(vdev, O_RDWR)) < 0) {
801 vdev, strerror(errno));
807 gettext("failed to read label from %s\n"), vdev);
815 gettext("failed to check state for %s\n"), vdev);
829 vdev, zpool_pool_state_to_name(state), name);
839 vdev, name);
849 vdev, name);
863 gettext("failed to clear label for %s\n"), vdev);
891 * Creates the named pool according to the given vdev specification. The
892 * bulk of the vdev processing is done in get_vdev_spec() in zpool_vdev.c. Once
1064 (void) fprintf(stderr, gettext("missing vdev specification\n"));
1124 (void) fprintf(stderr, gettext("invalid vdev "
1125 "specification: at least one toplevel vdev must be "
1420 * Given a vdev configuration, determine the maximum width needed for the device
1823 * works because only the top level vdev is marked "is_log"
2693 * Print out all the statistics for the given vdev. This can either be the
3005 * creation/destruction as well as vdev configuration changes. The bulk of this
3738 * per top-level vdev mirror. The newly split pool is left in an exported
4308 * zpool initialize [-cs] <pool> [<vdev> ...]
4610 * Determine name of vdev.
4633 (void) printf(gettext("Removal of vdev %llu copied %s "
5794 (void) printf(gettext(" 28 Multiple vdev replacements\n"));