[libvirt-users] Converting LVM to qcow2

ort_libvirt at bergersen.no ort_libvirt at bergersen.no
Sat Nov 30 00:12:31 UTC 2019


I need to convert a KVM virtual machine from LVM to a qcow2 image, and wonder if this is the best way to do it (*1):
[$] qemu-img convert -O qcow2 /dev/vg_name/lv_name/ /var/lib/libvirt/images/image_name.qcow2

If this is the best way to do this, will this keep the information on: /dev/vg_name/lv_name/ untouched?

Thanks, and please point me towards another mailing list if this it not right place to ask questions related to qemu-img!

Best regards,
Richard Taubo

*1) Via: http://nocoast-tech.blogspot.com/2010/05/converting-kvm-guests-from-lvm-to-qcow2.html

More information about the libvirt-users mailing list