Lines Matching refs:volume

133 /* Attach a plex to a volume or a subdisk to a plex. */
147 "\tattach <plex> <volume> [rename]");
185 char plex[GV_MAXPLEXNAME], volume[GV_MAXVOLNAME];
269 if (!strcmp(token[0], "volume")) {
272 warnx("line %d: invalid volume definition",
280 /* Reset plex count for this volume. */
284 * Set default volume name for following plex
287 strlcpy(volume, v->name, sizeof(volume));
289 snprintf(buf1, sizeof(buf1), "volume%d", volumes);
310 volume, plex_in_volume++);
313 /* Default volume. */
314 if (strlen(p->volume) == 0) {
315 snprintf(p->volume, sizeof(p->volume), "%s",
316 volume);
403 /* Create a concatenated volume. */
481 * General routine for creating a volume. Mainly for use by concat, mirror,
529 /* Find a free volume name. */
540 warnx("creating %s volume failed: %s", verb, errstr);
609 name = find_pattern(line, "volume");
693 "attach plex volume [rename]\n"
695 " Attach a plex to a volume, or a subdisk to a plex\n"
697 " Create a concatenated volume from the specified drives.\n"
699 " Detach a plex or a subdisk from the volume or plex to\n"
703 "l | list [-r] [-v] [-V] [volume | plex | subdisk]\n"
705 "ld [-r] [-v] [-V] [volume]\n"
711 "lv [-r] [-v] [-V] [volume]\n"
714 " Create a mirrored volume from the specified drives.\n"
721 " Create a RAID-5 volume from the specified drives.\n"
722 "rename [-r] [drive | subdisk | plex | volume] newname\n"
728 "rm [-r] [-f] volume | plex | subdisk | drive\n"
733 "setstate [-f] state [volume | plex | subdisk | drive]\n"
737 "start [-S size] volume | plex | subdisk\n"
740 " Create a striped volume from the specified drives.\n"
863 /* Create a mirrored volume. */
987 /* Create a RAID-5 volume. */
1245 /* Create a striped volume. */