Learn how to change a block storage volume type from Classic or High speed to High speed gen2.
Requirements
- Access to the Horizon interface
- A Block Storage volume created in your Public Cloud project
NOTE: Any attachment between the Block Storage volume and an instance must be severed before changing the volume type.
Instructions
When trying to change a block storage volume type to "High speed gen2," the migration policy will need to be changed from Never
to On-demand
.
The migration policy is set by default to Never
as the volume stays on the same CEPH cluster. However, for the "High speed gen2" type, the volume will need to be migrated to a new cluster.
This modification can be made via Horizon or the OpenStack CLI.
From the Horizon Interface
Log in to the Horizon interface and make sure you are in the correct region. You can verify this in the top left corner.
Next, open the Volumes menu on the left side and click on Volumes
. Find the row for your volume in the table, click on the drop-down arrow next to Edit Volume
, and select Change Volume Type
.
In the pop-up window:
- For Type, select
high-speed-gen-2
. - For Migration Policy, select
On Demand
.
Once done, click on Change Volume Type
to confirm the change.
From the OpenStack CLI
NOTE: Make sure to consult the following guide before proceeding: Preparing an environment for using the OpenStack API.
First, list the type of volumes available in your region with the following command:
NOTE: Please note that if the volume type "high-speed-gen2" does not appear in the list, it means that it is not available in this region.
Next, switch volume types with the following command:
Go further
For more information and tutorials, please see our other Public Cloud support guides or explore the guides for other OVHcloud products and services.
If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.