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

Lines Matching defs:vdev

46 #include <sys/vdev.h>
147 "[-U <cache>]\n\t\t<poolname> [<vdev> [<metaslab> ...]]\n"
150 "\t\t<poolname> <vdev>:<offset>:<size>[:<flags>]\n"
204 "-e to specify path to vdev dir\n");
852 " %010llx-%010llx size: %06llx vdev: %06llu words: %u\n",
1080 (void) fatal("bad vdev id: %llu", (u_longlong_t)c);
2862 /* test if two DVA offsets from same vdev are within the same metaslab */
2864 same_metaslab(spa_t *spa, uint64_t vdev, uint64_t off1, uint64_t off2)
2866 vdev_t *vd = vdev_lookup_top(spa, vdev);
3130 (void) printf("leaked space: vdev %llu, offset 0x%llx, size %llu\n",
3186 * a device being removed. Therefore, the vdev that
3188 * vdev.
3332 * Since the vdev_checkpoint_sm exists in the vdev level
3384 * 3] The current vdev is indirect
3439 "\rloading concrete vdev %llu, "
3542 "\rloading indirect vdev %llu, "
3595 * go through the vdev's checkpoint space map and exclude all
3674 "counts of vdev %llu because precise feature was not "
3681 "for vdev %llu -- %llx total bytes mismatched\n",
3956 (void) printf("\tDittoed blocks on same vdev: %llu\n",
3976 (void) printf("\tindirect vdev id %llu has %llu segments "
4209 (void) printf("Condensing indirect vdev %llu: new mapping "
4406 "\rverifying vdev %llu, space map entry %llu of %llu ...",
4438 * each vdev in the current state of the pool to the metaslab space maps
4556 "\rverifying vdev %llu of %llu, "
4611 * Ensure that ranges in the checkpoint space maps of each vdev
5055 * RAID-Zs, you can specify either RAID-Z vdev with 0.0 or 0.1 .
5058 zdb_vdev_lookup(vdev_t *vdev, const char *path)
5063 if (vdev == NULL)
5070 if (i >= vdev->vdev_children)
5073 vdev = vdev->vdev_child[i];
5075 return (vdev);
5076 return (zdb_vdev_lookup(vdev, s+1));
5079 for (i = 0; i < vdev->vdev_children; i++) {
5080 vdev_t *vc = vdev->vdev_child[i];
5119 * vdev_specifier - Which vdev (see comment for zdb_vdev_lookup)
5145 const char *s, *vdev;
5151 vdev = s ? s : "";
5206 vd = zdb_vdev_lookup(spa->spa_root_vdev, vdev);
5208 (void) printf("***Invalid vdev: %s\n", vdev);
5213 (void) fprintf(stderr, "Found vdev: %s\n",
5216 (void) fprintf(stderr, "Found vdev type: %s\n",
5256 * Treat this as a vdev child I/O.