Typing --help
with any combination of commands will provide a help screen with the optional commands/arguments for that command.
For example:
vpg create --help
Usage: nvmesh vpg create [OPTIONS]
Create VPGs.
usage example: -n v11 --raid-level ec -c 100000000000 --data-blocks 2
--parity-blocks 1 --protection-level full --stripe-width 1
Options:
-n, --name TEXT Name of the volume. The name must be unique,
as it will become the ID of the volume.
[required]
-rl, --raid-level [lvm|ec|0|1|10]
The RAID level of the volume. Options: lvm =
Concatenated, ec = Erasure Coding, 0 =
Striped RAID-0, 1 = Mirrored RAID-1, 10 =
Striped & Mirrored RAID-10. [required]
-c, --capacity INTEGER Space in bytes to allocate for the volume.
-d, --description TEXT Description of the volume.
--domain TEXT Domain to use.
-dc, --drive-classes TEXT Limit volume allocation to specific drive
classes.
-tc, --target-classes TEXT Limit volume allocation to specific target
classes.
--stripe-width INTEGER Number of disks to use. Required if RAID
Level is 0 or 10.
--data-blocks INTEGER RANGE Number of disks to use. Required if RAID
Level is ec.
--parity-blocks INTEGER RANGE Number of disks to use. Required if RAID
Level is ec.
--protection-level [full|minimal|ignore]
Protection level to use. Required if RAID
Level is ec. Options: full = Full
Separation, minimal = Minimal Separation,
ignore = Ignore Separation.
--help Show this message and exit.
Post your comment on this topic.