Lines Matching defs:group

441 			/* If -g group -L, force error */
480 usage(gettext("can't use a group with this option"));
482 usage(gettext("must use a group with this option"));
498 * iiadm -g grp -m volume (move volume into group)
513 * If we are in a cluster, set or derive a valid disk group
790 (void) snprintf(key, sizeof (key), "ii.set%d.group", setno);
874 find_group_members(char *group)
881 (void) snprintf(key, sizeof (key), "ii.set%d.group", setnumber);
885 if (strcmp(group, buf))
985 /* if we have a group name, add it */
988 (void) sprintf(buf, "ii.set%d.group",
1044 * Handle disk group name of different shadow
1056 /* reload disk group volumes */
1159 * If we are in a cluster, attempt to derive a new resource group
1185 "disk group name (%s) for %s"),
1194 "in a device group which has been "
1247 "unable to determine disk group name for %s"), path);
1254 * See if disk group is local to this node
1558 gettext("\t-g g -e ind m s b group enable independent "
1561 gettext("\t-g g -e dep m s b group enable dependent "
1564 gettext("\t-g g -d\t\tdisable group"));
1567 "group"));
1570 "group"));
1573 "group"));
1576 "group"));
1579 "group"));
1581 gettext("\t-g g -w\t\twait for all volumes in group"));
1584 "group"));
1586 gettext("\t-g g -l\t\tlist all volumes in group"));
1591 "group"));
1593 gettext("\t-g \"\" -m v\tremove volume from group"));
1595 gettext("\t-g g -R\t\treset all volumes in group"));
1598 "group"));
1601 "group"));
1604 "volumes in group"));
1607 "volumes in group"));
1610 "volumes in group"));
1747 /* poll shadow group with a status ioctl() */
1865 * If not local, determine disk group names for volumes in II set
1870 * Check if none or all volumes are in a disk group
1879 "in a disk group"), NULL);
1882 * If volumes are not in a disk group, but are in a
1888 "in a device group which has been "
1893 * the same disk group
1899 "Volumes are not in same disk group"), NULL);
1903 * exportable shadow device group movement
1923 * Check cluster tag and bitmap disk group
1961 "group"), NULL);
1969 * If we've got a group name, add it into the config
2028 * InstantImage group.
2121 * Failed to enable shadow group, log problem and remove
2122 * the shadow group from the config file.
2184 "group"), NULL);
2283 "Copy group"), NULL);
2309 "group"), NULL);
2397 validate_group_names(char **vol_list, char *group)
2404 if (group == NULL || *group == NULL) {
2405 /* no group set, just count volume list */
2422 (void) strncpy(group_list->shadow_vol, group, DSW_NAMELEN);
2515 "group"), NULL);
2535 gettext("Shadow group %s is suspended"),
2600 "group"), NULL);
2640 dsw_error(gettext("Shadow group suspended"), NULL);
2844 "group"), NULL);
2976 "group"), NULL);
3014 "group"), NULL);
3059 "group"), NULL);
3113 dsw_error(gettext("Some sets in the group failed to disable"),
3144 "Copy group"), NULL);
3163 "-Time Copy group"), &parms.status);
3185 * one or more sets within the group
3204 "in a Point-in-Time Copy group"), *p);
3213 "Copy group"), NULL);
3271 (void) printf(gettext("Sets in cluster resource group %s:\n"),
3354 " master in this group with its shadow volume?"));
3377 " master in this group with its shadow volume?"));
3549 " disk group"), NULL);
3553 " disk group"), NULL);
3556 " same disk group as shadow set members"),
3625 "group"), NULL);
3772 "group"), NULL);
3800 " disk group"), NULL);
3804 " disk group"), NULL);
3807 " same disk group as shadow set members"),
3823 "group"), NULL);
3828 "group"), NULL);
4020 /* handle move to NULL group, or group of all spaces or tabs */
4027 /* get the ctag for this group (if any) */
4036 "Copy group"), NULL);
4038 /* ensure the ctag matches the group */
4044 gettext("into new group - cluster "
4055 dsw_error(gettext("Failed to move group in kernel"),
4059 (void) sprintf(key, "ii.set%d.group", setnumber);
4082 (void) snprintf(key, sizeof (key), "ii.set%d.group", setnumber);
4086 /* skip if shadow set is not in any group */
4118 char *ctag, *group;
4141 /* grab shadow, group & cnode fields */
4148 group = strtok(NULL, " "); /* group */
4153 if (group)
4154 group += strspn(group, "-");
4179 if (!group || !*group || !ctag || !*ctag) {
4184 gdata = (grptag_t *)nsc_lookup(volhash, group);
4186 /* group already exists - check ctag */
4194 "I/O group\n"));
4201 (void) nsc_insert_node(volhash, gdata, group);
4303 * Check the group name for the following rules:
4319 dsw_error(gettext("group name cannot start with a '-'"), NULL);
4325 dsw_error(gettext("group name cannot contain a space"),