• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/cddl/contrib/opensolaris/cmd/zpool/

Lines Matching defs:vdev

227 		return (gettext("\tadd [-fgLnP] <pool> <vdev> ...\n"));
238 "<pool> <vdev> ...\n"));
262 return (gettext("\tlabelclear [-f] <vdev>\n"));
393 * print a pool vdev config for dry runs
538 * zpool add [-fgLnP] [-o property=value] <pool> <vdev> ...
541 * -g Display guid for individual vdev name.
542 * -L Follow links when resolving vdev path name.
545 * -P Display full path for vdev name.
600 (void) fprintf(stderr, gettext("missing vdev specification\n"));
675 * zpool remove <pool> <vdev> ...
677 * Removes the given vdev from the pool.
772 * zpool labelclear [-f] <vdev>
777 * Verifies that the vdev is not active and zeros out the label information
783 char vdev[MAXPATHLEN];
808 /* get vdev name */
810 (void) fprintf(stderr, gettext("missing vdev name\n"));
820 * Otherwise if the provided vdev name doesn't point to a file,
823 (void) strlcpy(vdev, argv[0], sizeof (vdev));
824 if (vdev[0] != '/' && stat(vdev, &st) != 0) {
827 (void) snprintf(vdev, sizeof (vdev), "%s/%s",
832 (void) strlcat(vdev, "s0", sizeof (vdev));
836 if (stat(vdev, &st) != 0) {
844 if ((fd = open(vdev, O_RDWR)) < 0) {
846 vdev, strerror(errno));
852 gettext("failed to read label from %s\n"), vdev);
860 gettext("failed to check state for %s\n"), vdev);
874 vdev, zpool_pool_state_to_name(state), name);
884 vdev, name);
894 vdev, name);
908 gettext("failed to clear label for %s\n"), vdev);
936 * Creates the named pool according to the given vdev specification. The
937 * bulk of the vdev processing is done in get_vdev_spec() in zpool_vdev.c. Once
1109 (void) fprintf(stderr, gettext("missing vdev specification\n"));
1169 (void) fprintf(stderr, gettext("invalid vdev "
1170 "specification: at least one toplevel vdev must be "
1469 * Given a vdev configuration, determine the maximum width needed for the device
1904 * recursively - which works because only the top level vdev is marked.
2924 * Print out all the statistics for the given vdev. This can either be the
3252 * -g Display guid for individual vdev name.
3253 * -L Follow links when resolving vdev path name.
3254 * -P Display full path for vdev name.
3259 * creation/destruction as well as vdev configuration changes. The bulk of this
3576 * print static default line per vdev
3752 * -g Display guid for individual vdev name.
3755 * -L Follow links when resolving vdev path name.
3760 * -P Display full path for vdev name.
4056 * -g Display guid for individual vdev name.
4057 * -L Follow links when resolving vdev path name.
4061 * -P Display full path for vdev name.
4066 * per top-level vdev mirror. The newly split pool is left in an exported
4647 * zpool initialize [-cs] <pool> [<vdev> ...]
4940 * Determine name of vdev.
4963 (void) printf(gettext("Removal of vdev %llu copied %s "
5539 * -g Display guid for individual vdev name.
5540 * -L Follow links when resolving vdev path name.
5541 * -P Display full path for vdev name.
6150 (void) printf(gettext(" 28 Multiple vdev replacements\n"));