:: How to convert kvm image-based to LVM device in Linux Ubuntu
+ Stop/Shutdown VM
virsh -c qemu:///system virsh # destroy kvm1
+ Convert image kvm
cd /var/lib/libvirt/images/ qemu-img convert tmpxxSSSS.qcow2 -O raw /dev/vg0/kvm1
+ Modify kvm1 configuration file
virsh edit kvm1
go to disk section;
then change some like these:
+ Starting vm with new configuration disk
virsh -c qemu:///system virsh # define /etc/libvirt/qemu/kvm1.xml virsh # start kvm1
:: Links
+ Google
+ HowToForge