![]() That, 11811160064, should be the right size for our LVM partition, so let's create it (in this example, we're using the volume group vg0: lvcreate -L 11811160064b -nvmachine vg0 DD Then, convert the image to raw: qemu-img convert vmachine.qcow2 -O raw vmachine.raw Create an LVM partitionīut first, find the size we'll need: ls -l vmachine.raw Then, find your disk image, mine was in /var/lib/libvirt/images, so : cd /var/lib/libvirt/images/ Convert the qcow2 image to rawīefore doing any of this, it's probably better to shut down the virtual machine. I went out to see if it was possible to convert the qcow2 image to an LVM partition, and it turns out it was easy, but I did have to mix and match a few tips I found here and there. For some reason, I had setup a new virtual machine using qcow2, and it was slow, so slow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |