Lines Matching defs:volume

137 /* Attach a plex to a volume or a subdisk to a plex. */
151 "\tattach <plex> <volume> [rename]");
189 char plex[GV_MAXPLEXNAME], volume[GV_MAXVOLNAME];
273 if (!strcmp(token[0], "volume")) {
276 warnx("line %d: invalid volume definition",
284 /* Reset plex count for this volume. */
288 * Set default volume name for following plex
291 strlcpy(volume, v->name, sizeof(volume));
293 snprintf(buf1, sizeof(buf1), "volume%d", volumes);
314 volume, plex_in_volume++);
317 /* Default volume. */
318 if (strlen(p->volume) == 0) {
319 snprintf(p->volume, sizeof(p->volume), "%s",
320 volume);
407 /* Create a concatenated volume. */
485 * General routine for creating a volume. Mainly for use by concat, mirror,
533 /* Find a free volume name. */
544 warnx("creating %s volume failed: %s", verb, errstr);
613 name = find_pattern(line, "volume");
697 "attach plex volume [rename]\n"
699 " Attach a plex to a volume, or a subdisk to a plex\n"
701 " Create a concatenated volume from the specified drives.\n"
703 " Detach a plex or a subdisk from the volume or plex to\n"
707 "l | list [-r] [-v] [-V] [volume | plex | subdisk]\n"
709 "ld [-r] [-v] [-V] [volume]\n"
715 "lv [-r] [-v] [-V] [volume]\n"
718 " Create a mirrored volume from the specified drives.\n"
725 " Create a RAID-5 volume from the specified drives.\n"
726 "rename [-r] [drive | subdisk | plex | volume] newname\n"
732 "rm [-r] [-f] volume | plex | subdisk | drive\n"
737 "setstate [-f] state [volume | plex | subdisk | drive]\n"
741 "start [-S size] volume | plex | subdisk\n"
744 " Create a striped volume from the specified drives.\n"
867 /* Create a mirrored volume. */
991 /* Create a RAID-5 volume. */
1250 /* Create a striped volume. */