Creates a new Block Storage volume that can be attached to virtual machines for additional persistent storage
The vultr-cli block-storage create
command provisions a new Block Storage volume on Vultr's platform, allowing you to attach additional persistent storage to your virtual machines.
$ vultr-cli block-storage create [flags]
#Full example
$ vultr-cli block-storage create --region='lax' --size=10 --label='your-label'
#Full example with block-type
$ vultr-cli block-storage create --region='lax' --size=10 --block-type='high_perf'
#Shortened with aliased commands
$ vultr-cli bs c -r='lax' -s=10 -l='your-label'
#Shortened with aliased commands and block-type
$ vultr-cli bs c -r='lax' -s=10 -b='high_perf'
Shorthand | Long Version | Description |
---|
| -b | --block-type | (optional) Block type you want to give the block storage. Possible values: 'high_perf', 'storage_opt'. Currently defaults to 'high_perf'. | | -l | --label | label you want to give the block storage | | -r | --region | ID of the region in which to create the block storage | | -s | --size | size of the block storage you want to create |
No comments yet.