/freebsd-13-stable/usr.sbin/periodic/etc/daily/ |
H A D | 410.status-mfi | 19 if mfiutil show volumes; then 20 if mfiutil show volumes | grep -q DEGRADED; then
|
/freebsd-13-stable/usr.sbin/mptutil/ |
H A D | mpt_drive.c | 91 * - IOC2 : This gives us a list of volumes, and by walking the volumes we 92 * can enumerate all of the drives attached to volumes including 144 CONFIG_PAGE_RAID_VOL_0 **volumes; local 182 * Go ahead and read the info for all the volumes. For this 185 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes); 189 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, 191 if (volumes[i] == NULL) { 195 free(volumes); [all...] |
H A D | mpt_show.c | 327 printf("mpt%d Configuration: %d volumes, %d drives\n", 397 CONFIG_PAGE_RAID_VOL_0 **volumes; local 402 warnx("show volumes: extra arguments"); 422 * Go ahead and read the info for all the volumes and figure 425 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes); 429 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, 431 if (volumes[i] == NULL) 435 volumes[i]->VolumeStatus.State)); 451 if (volumes[ [all...] |
/freebsd-13-stable/sys/contrib/openzfs/etc/systemd/system/ |
H A D | Makefile.am | 14 zfs-volumes.target \
|
/freebsd-13-stable/sbin/gvinum/ |
H A D | gvinum.c | 184 int sd_in_plex, status, subdisks, tokens, undeffd, volumes; local 244 drives = volumes = plexes = subdisks = 0; 293 snprintf(buf1, sizeof(buf1), "volume%d", volumes); 295 volumes++; 395 if (!errors && (volumes || plexes || subdisks || drives)) { 396 gctl_ro_param(req, "volumes", sizeof(int), &volumes); 427 int drives, i, flags, volumes, subdisks, plexes; local 430 flags = plexes = subdisks = volumes = 0; 450 gctl_ro_param(req, "volumes", sizeo 1273 int drives, volumes, plexes, subdisks, flags; local [all...] |
/freebsd-13-stable/usr.sbin/mfiutil/ |
H A D | mfi_config.c | 277 int *volumes; member in struct:config_id_state 418 if (state->volumes[i] == state->target_id) 744 state.volumes = calloc(config->log_drv_count, sizeof(int)); 745 if (state.volumes == NULL) { 752 state.volumes[i] = ld->properties.ld.v.target_id; 755 qsort(state.volumes, config->log_drv_count, sizeof(int), 758 state.volumes = NULL; 832 free(state.volumes); 1123 "mfi%d %s: %d arrays, %d volumes, %d spares\n", mfi_unit,
|
H A D | mfi_show.c | 376 printf("mfi%d Configuration: %d arrays, %d volumes, %d spares\n", 457 warnx("show volumes: extra arguments"); 476 /* List the volumes. */ 529 MFI_COMMAND(show, volumes, show_volumes);
|
/freebsd-13-stable/sys/geom/vinum/ |
H A D | geom_vinum.c | 187 LIST_INIT(&sc->volumes); 316 int error, i, *drives, *flags, *plexes, *subdisks, *volumes; local 324 volumes = gctl_get_paraml(req, "volumes", sizeof(*volumes)); 328 if (volumes == NULL || plexes == NULL || subdisks == NULL || 376 for (i = 0; i < *volumes; i++) {
|
H A D | geom_vinum_subr.c | 201 LIST_FOREACH(v, &sc->volumes, volume) { 886 LIST_FOREACH(v, &sc->volumes, volume) { 1010 LIST_FOREACH(v, &sc->volumes, volume) { 1063 LIST_FOREACH(v, &sc->volumes, volume) { 1094 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2) {
|
H A D | geom_vinum_var.h | 232 LIST_HEAD(,gv_volume) volumes; /* All volumes. */ member in struct:gv_softc
|
H A D | geom_vinum_list.c | 147 /* List volumes. */ 218 /* List one or more volumes. */ 229 LIST_FOREACH(v, &sc->volumes, volume) 236 LIST_FOREACH(v, &sc->volumes, volume)
|
H A D | geom_vinum_rm.c | 192 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2) 342 /* Remove all associated subdisks, plexes, volumes. */
|
H A D | geom_vinum_create.c | 191 LIST_INSERT_HEAD(&sc->volumes, v, volume);
|
/freebsd-13-stable/sys/geom/part/ |
H A D | g_part_ldm.c | 65 * This allows access to mirrored LDM volumes. Since we do not 70 CTLFLAG_RWTUN, &show_mirrors, 0, "Show mirrored volumes"); 170 * The most interesting for us are volumes, they are represents 181 * striped volumes). 226 uint64_t offset; /* offset for spanned volumes */ 308 LIST_HEAD(, ldm_volume) volumes; 961 /* keep volumes ordered by volume number */ 963 LIST_FOREACH(volume, &db->volumes, entry) { 971 LIST_INSERT_HEAD(&db->volumes, &blk->u.vol, entry); 1096 LIST_FOREACH(volume, &db->volumes, entr [all...] |