Theoretically on Centos 7 as the host KVM OS it could be done with a couple of pauses and the snapshotting mechanism built into qcow2, but there is no simple way to do it directly via virsh, the libvirtd/qemu control program that is used to manage virtualization. It's not as with issuing a simple vmotion 'migrate volume' call in Vmware.
I scripted out how it would work without that direct support in libvirt/virsh and after looking at all the points where things could go wrong, honestly, I think we need to wait until there is support in libvirt/virsh to do this. virsh clearly has the capability internally to do live migration of storage, since it does this for live domain migration of local storage between machines when migrating KVM domains from one host to another, but that capability is not currently exposed in a way Cloudstack could use, at least not on Centos 7. > On Jan 17, 2018, at 01:05, Piotr Pisz <[email protected]> wrote: > > Hello, > > Is there a chance that one day it will be possible to migrate volume (root > disk) of a live VM in KVM between storage pools (in CloudStack)? > Like a storage vMotion in Vmware. > > Best regards, > Piotr >
