You can migrate Cinder volumes that are attached to an OpenStack instance by migrating the corresponding virtual machine to a different datastore.
Note:
- Multi-attach volumes cannot be migrated while attached. Detach multi-attach volumes before migrating them to another datastore.
- After the OpenStack instance to which the volume is attached is migrated, the corresponding shadow virtual machine has no disk. When you detach the volume, the disk will be re-attached to the shadow virtual machine.
- To keep a volume not migrated together with its attached virtual machine, please see Volumes Not Migrated with Attached Virtual Machines.
Prerequisites
Detach all snapshots from the volumes that you want to migrate.
Procedure
Results
The Cinder volume and the disk of the corresponding shadow virtual machine are migrated to the new datastore.