I am on Ubuntu 17.04 server using KVM
I tried to clone a vm after stopping it... I actually could not do a shutdown, so I did a destroy.
visrh destroy origVM
Then I tried cloning using:
virt-clone --original origVM --name conleVM --file /var/lib/libvirt/images/cloneVM.img
and I got:
ERROR missing source information for device sdx
So I tried
virt-clone --original origVM --auto-clone
and I got:
ERROR Could not use path /dev/disk/by-id/.... for cloning don't know how to create storage path /dev/disk.by-id/.... Use libvirt APIs to manage the parent directory as a pool first.
I am thinking this is related to the fact that for origVM, I have dedicated 2 physical HDD from the host. I define these HDD in the xml by their disk/by-id number.
Could use guidance on how to deal with it.