Hi,

Attached you can find LVM and VM configurations.
I did post error message. It is:
"error: internal error: cannot precreate storage for disk type 'block'".

... and some good news:
As I described problem occurs when VM has raw disk backed by LVM.
In my test case it was "/dev/mapper/vg1-test--vm".
If this volume does not exist on target machine migration fails with:
"error: internal error: cannot precreate storage for disk type 'block'"

When LV with same name, location and size exists on target machine migration 
works OK.
Prior to migration I have created same LV on target machine and executed virsh 
migrate and that worked.

For some reason LV on target machine can not be auto created during migration.
I do not know if this is intended behavior or minor bug.

Thanks on quick response.

BR,
Krešimir


** Attachment added: "conf.txt"
   
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1943847/+attachment/5525904/+files/conf.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1943847

Title:
  virsh migrate with LVM volume as disk fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1943847/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to