Lines Matching defs:vdevs
524 "--json-flat-vdevs, ...\n"
782 * Initialize all unused blocks in the specified vdevs, or all vdevs in the pool
796 nvlist_t *vdevs;
875 vdevs = fnvlist_alloc();
877 /* no individual leaf vdevs specified, so add them all */
881 zpool_collect_leaves(zhp, nvroot, vdevs);
884 fnvlist_add_boolean(vdevs, argv[i]);
889 err = zpool_initialize_wait(zhp, cmd_type, vdevs);
891 err = zpool_initialize(zhp, cmd_type, vdevs);
893 fnvlist_free(vdevs);
1229 * not the leaf vdevs. If we're a leaf vdev
1395 * Adds the given vdevs to 'pool'. As with create, the bulk of this work is
1779 * -f Force clearing the label for the vdevs which are members of
2222 * through all the vdevs in the list and print out in an
2920 * If '-e' is specified then top-level vdevs and their children
2969 /* Only leafs vdevs have slow IOs */
2984 /* Only leaf vdevs have physical slots */
3146 /* The top-level vdevs have the rebuild stats */
3199 * Print the configuration of an exported pool. Iterate over all vdevs in the
3314 * Print specialized class vdevs.
3316 * These are recorded as top level vdevs in the main pool child array
3319 * class vdevs then any of their children (eg mirrored slogs) are printed
4296 * -V Import even in the presence of faulted vdevs. This is an
4299 * vdevs in the FAULTED state. In other words, it does verbatim
5500 /* only toplevel vdevs have capacity stats */
6048 * Check if vdevs are in a pool
6353 * -v Display statistics for individual vdevs
6509 /* All the args are vdevs */
6523 fprintf(stderr, gettext("pools, or list of vdevs in"));
6535 * nor are all the args vdevs.
6537 fprintf(stderr, gettext("Unable to parse pools/vdevs list.\n"));
6544 * If user specified vdevs, it implies verbose.
6711 * In addition, if we're printing specific vdevs then
7047 * Print the properties for the individual vdevs. Some
7048 * properties are only applicable to toplevel vdevs. The
7115 /* list the normal vdevs first */
7145 fnvlist_add_nvlist(ent, "vdevs", ch);
7277 fnvlist_add_nvlist(p, "vdevs", nvdevs);
8335 * Reopen the pool so that the kernel can update the sizes of all vdevs.
8688 nvlist_t *vdevs = fnvlist_alloc();
8690 /* no individual leaf vdevs specified, so add them all */
8694 zpool_collect_leaves(zhp, nvroot, vdevs);
8699 fnvlist_add_boolean(vdevs, argv[i]);
8703 int error = zpool_trim(zhp, cmd_type, vdevs, &trim_flags);
8705 fnvlist_free(vdevs);
9037 * Print rebuild status for top-level vdevs.
9243 /* Only leaf vdevs have physical slots */
9390 fnvlist_add_nvlist(vds, "vdevs", ch);
10775 fnvlist_add_nvlist(item, "vdevs", vds);
10778 fnvlist_add_nvlist(item, "vdevs", vds);
10988 * -e Display only unhealthy vdevs
11002 * --json-flat-vdevs Display vdevs in flat hierarchy
11022 {"json-flat-vdevs", no_argument, NULL,
11137 fprintf(stderr, gettext("'--json-flat-vdevs' only works with"
12386 d = fnvlist_lookup_nvlist(cbp->cb_jsobj, "vdevs");
12388 fprintf(stderr, "vdevs obj not found.\n");
12426 fnvlist_add_nvlist(cbp->cb_jsobj, "vdevs", d);
12485 if (strcmp(cbp->cb_vdevs.cb_names[0], "all-vdevs") == 0) {
12742 if ((argc == 2 && strcmp(argv[1], "all-vdevs") == 0) ||
12762 fprintf(stderr, gettext("Expected a list of vdevs in"
12799 fnvlist_add_nvlist(cb.cb_jsobj, "vdevs", data);
12998 /* Add up the total number of bytes left to initialize/trim across all vdevs */
13034 /* Add up the total number of bytes left to rebuild across top-level vdevs */
13064 /* Whether any vdevs are 'spare' or 'replacing' vdevs */
13200 * 'replacing' vdevs and a resilver is happening, then a replace is in