Usage: nvmesh volume create [OPTIONS]

  Create volume.

  IMPORTANT: When creating a volume only one of the following can be
  defined: VPG, target/drive classes, limit by targets/drives. The hierarchy
  is: 1. vpg, 2. target/drive classes, 3. limit by targets/drives. That is,
  if you provide all three options, only the VPG will be considered because
  it is the first in the hierarchy, and so on.

  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 TEXT             Space in bytes to allocate for the volume.
                                  Use "MAX" for using all of the available
                                  space.  [required]
  -d, --description TEXT          Description of the volume.
  --domain TEXT                   Domain to use.
  --vpg TEXT                      The VPG to use.
  --relative-rebuild-priority INTEGER RANGE
                                  Sets the volume relative rebuild priority.
  -dc, --drive-classes TEXT       Limit volume allocation to specific drive
                                  classes.
  -tc, --target-classes TEXT      Limit volume allocation to specific target
                                  classes.
  --limit-by-drives TEXT          Limit volume allocation to specific drives.
  --limit-by-targets TEXT         Limit volume allocation to specific targets.
  --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.
  --wait-for-status [online|offline|degraded|initializing]
                                  Wait for the volume to become in a specific
                                  status before continue. Options: online,
                                  offline, degraded, initializing.
  --help                          Show this message and exit.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
Email Excelero Support

Post Comment