This command creates a volume of block storage on a block enabled view.
Usage
volume create --view-id ID --name --size [--tags TAGS]
Required Parameters
| Specifies which block subsystem view under which to provision the volume. Specify the integer ID of a view that is configured for block storage (has the block protocol enabled). |
| Modifies the volume name, which is the path to the volume relative to the subsystem view to which it belongs. The path can include a nesting of subdirectories. Subdirectories that do not yet exist will be created accordingly when the name is configured. Examples:
|
| Modifies the capacity of the volume. Specify For example: |
Options
| Adds key-value pairs to tag the volume, for the purpose of categorizing and organizing block volumes. Specify For example: |
Example
vcli: admin> volume create --view-id 3 --name dev/platform --size 100GB --tags owner=DG,team=platform