/freebsd-current/usr.sbin/periodic/etc/daily/ |
H A D | 410.status-mfi | 18 if mfiutil show volumes; then 19 if mfiutil show volumes | grep -q DEGRADED; then
|
/freebsd-current/usr.sbin/mptutil/ |
H A D | mpt_drive.c | 88 * - IOC2 : This gives us a list of volumes, and by walking the volumes we 89 * can enumerate all of the drives attached to volumes including 141 CONFIG_PAGE_RAID_VOL_0 **volumes; local 179 * Go ahead and read the info for all the volumes. For this 182 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes); 186 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, 188 if (volumes[i] == NULL) { 192 free(volumes); [all...] |
H A D | mpt_show.c | 324 printf("mpt%d Configuration: %d volumes, %d drives\n", 394 CONFIG_PAGE_RAID_VOL_0 **volumes; local 399 warnx("show volumes: extra arguments"); 419 * Go ahead and read the info for all the volumes and figure 422 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes); 426 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, 428 if (volumes[i] == NULL) 432 volumes[i]->VolumeStatus.State)); 448 if (volumes[ [all...] |
/freebsd-current/sbin/gvinum/ |
H A D | gvinum.c | 182 int sd_in_plex, status, subdisks, tokens, undeffd, volumes; local 242 drives = volumes = plexes = subdisks = 0; 291 snprintf(buf1, sizeof(buf1), "volume%d", volumes); 293 volumes++; 393 if (!errors && (volumes || plexes || subdisks || drives)) { 394 gctl_ro_param(req, "volumes", sizeof(int), &volumes); 425 int drives, i, flags, volumes, subdisks, plexes; local 428 flags = plexes = subdisks = volumes = 0; 448 gctl_ro_param(req, "volumes", sizeo 1276 int drives, volumes, plexes, subdisks, flags; local [all...] |
/freebsd-current/usr.sbin/mfiutil/ |
H A D | mfi_config.c | 276 int *volumes; member in struct:config_id_state 417 if (state->volumes[i] == state->target_id) 743 state.volumes = calloc(config->log_drv_count, sizeof(int)); 744 if (state.volumes == NULL) { 751 state.volumes[i] = ld->properties.ld.v.target_id; 754 qsort(state.volumes, config->log_drv_count, sizeof(int), 757 state.volumes = NULL; 831 free(state.volumes); 1122 "%s %s: %d arrays, %d volumes, %d spares\n", mfi_device,
|
H A D | mfi_show.c | 374 printf("%s Configuration: %d arrays, %d volumes, %d spares\n", 455 warnx("show volumes: extra arguments"); 474 /* List the volumes. */ 527 MFI_COMMAND(show, volumes, show_volumes);
|
/freebsd-current/sys/contrib/openzfs/etc/ |
H A D | Makefile.am | 67 %D%/systemd/system/zfs-volumes.target \
|
/freebsd-current/sys/geom/vinum/ |
H A D | geom_vinum.c | 184 LIST_INIT(&sc->volumes); 313 int i, *drives, *flags, *plexes, *subdisks, *volumes; local 321 volumes = gctl_get_paraml(req, "volumes", sizeof(*volumes)); 325 if (volumes == NULL || plexes == NULL || subdisks == NULL || 373 for (i = 0; i < *volumes; i++) {
|
H A D | geom_vinum_subr.c | 198 LIST_FOREACH(v, &sc->volumes, volume) { 883 LIST_FOREACH(v, &sc->volumes, volume) { 1007 LIST_FOREACH(v, &sc->volumes, volume) { 1060 LIST_FOREACH(v, &sc->volumes, volume) { 1091 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 | 144 /* List volumes. */ 215 /* List one or more volumes. */ 226 LIST_FOREACH(v, &sc->volumes, volume) 233 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 | 187 LIST_INSERT_HEAD(&sc->volumes, v, volume);
|
/freebsd-current/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...] |