/freebsd-11-stable/etc/periodic/daily/ |
H A D | 410.status-mfi | 19 if mfiutil show volumes; then 20 if mfiutil show volumes | grep -q DEGRADED; then
|
/freebsd-11-stable/usr.sbin/mptutil/ |
H A D | mpt_drive.c | 89 * - IOC2 : This gives us a list of volumes, and by walking the volumes we 90 * can enumerate all of the drives attached to volumes including 142 CONFIG_PAGE_RAID_VOL_0 **volumes; local 180 * Go ahead and read the info for all the volumes. For this 183 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes); 187 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, 189 if (volumes[i] == NULL) { 193 free(volumes); [all...] |
H A D | mpt_show.c | 325 printf("mpt%d Configuration: %d volumes, %d drives\n", 395 CONFIG_PAGE_RAID_VOL_0 **volumes; local 400 warnx("show volumes: extra arguments"); 420 * Go ahead and read the info for all the volumes and figure 423 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes); 427 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, 429 if (volumes[i] == NULL) 433 volumes[i]->VolumeStatus.State)); 449 if (volumes[ [all...] |
/freebsd-11-stable/sbin/gvinum/ |
H A D | gvinum.c | 185 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 1272 int drives, volumes, plexes, subdisks, flags; local [all...] |
/freebsd-11-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-11-stable/sys/geom/vinum/ |
H A D | geom_vinum.c | 185 LIST_INIT(&sc->volumes); 314 int error, i, *drives, *flags, *plexes, *subdisks, *volumes; local 322 volumes = gctl_get_paraml(req, "volumes", sizeof(*volumes)); 326 if (volumes == NULL || plexes == NULL || subdisks == NULL || 375 for (i = 0; i < *volumes; i++) {
|
H A D | geom_vinum_subr.c | 198 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 | 230 LIST_HEAD(,gv_volume) volumes; /* All volumes. */ member in struct:gv_softc
|
H A D | geom_vinum_list.c | 145 /* List volumes. */ 216 /* List one or more volumes. */ 227 LIST_FOREACH(v, &sc->volumes, volume) 234 LIST_FOREACH(v, &sc->volumes, volume)
|
H A D | geom_vinum_rm.c | 189 LIST_FOREACH_SAFE(v, &sc->volumes, volume, v2) 339 /* Remove all associated subdisks, plexes, volumes. */
|
H A D | geom_vinum_create.c | 188 LIST_INSERT_HEAD(&sc->volumes, v, volume);
|
/freebsd-11-stable/sys/geom/part/ |
H A D | g_part_ldm.c | 62 * This allows access to mirrored LDM volumes. Since we do not 67 CTLFLAG_RWTUN, &show_mirrors, 0, "Show mirrored volumes"); 167 * The most interesting for us are volumes, they are represents 178 * striped volumes). 223 uint64_t offset; /* offset for spanned volumes */ 305 LIST_HEAD(, ldm_volume) volumes; 958 /* keep volumes ordered by volume number */ 960 LIST_FOREACH(volume, &db->volumes, entry) { 968 LIST_INSERT_HEAD(&db->volumes, &blk->u.vol, entry); 1093 LIST_FOREACH(volume, &db->volumes, entr [all...] |