Block Storage v3
Create a volume group.
Generic volume groups enable you to create a group of volumes and manage them together.
Generic volume groups are more flexible than consistency groups. Currently volume consistency groups only support consistent group snapshot. It cannot be extended easily to serve other purposes. A project may want to put volumes used in the same application together in a group so that it is easier to manage them together, and this group of volumes may or may not support consistent group snapshot. Generic volume group solve this problem. By decoupling the tight relationship between the group construct and the consistency concept, generic volume groups can be extended to support other features in the future.
This command requires --os-volume-api-version
3.13 or greater.
openstack volume group create
[--name <name>]
[--description <description>]
[--availability-zone <availability-zone>]
<volume_group_type>
<volume_type>
[<volume_type> ...]
Name of the volume group.
Description of a volume group.
Availability zone for volume group.
Name or ID of volume group type to use.
Name or ID of volume type(s) to use.
Delete a volume group.
This command requires --os-volume-api-version
3.13 or greater.
openstack volume group delete [--force] <group>
Delete the volume group even if it contains volumes. This will delete any remaining volumes in the group.
Name or ID of volume group to delete
Lists all volume groups.
This command requires --os-volume-api-version
3.13 or greater.
openstack volume group list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--all-projects]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Shows details for all projects (admin only).
Failover replication for a volume group.
This command requires --os-volume-api-version
3.38 or greater.
openstack volume group failover
[--allow-attached-volume]
[--disallow-attached-volume]
[--secondary-backend-id <backend_id>]
<group>
Allow group with attached volumes to be failed over.
Disallow group with attached volumes to be failed over.
Secondary backend ID.
Name or ID of volume group to failover replication for.
Update a volume group.
This command requires --os-volume-api-version
3.13 or greater.
openstack volume group set
[--name <name>]
[--description <description>]
[--enable-replication]
[--disable-replication]
<group>
New name for group.
New description for group.
Enable replication for group. (supported by –os-volume-api-version 3.38 or above)
Disable replication for group. (supported by –os-volume-api-version 3.38 or above)
Name or ID of volume group.
Show detailed information for a volume group.
This command requires --os-volume-api-version
3.13 or greater.
openstack volume group show
[--volumes]
[--no-volumes]
[--replication-targets]
[--no-replication-targets]
<group>
Show volumes included in the group. (supported by –os-volume-api-version 3.25 or above)
Do not show volumes included in the group. (supported by –os-volume-api-version 3.25 or above)
Show replication targets for the group. (supported by –os-volume-api-version 3.38 or above)
Do not show replication targets for the group. (supported by –os-volume-api-version 3.38 or above)
Name or ID of volume group.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.