KVM disk image converstions

From RARFORGE
Revision as of 12:52, 29 May 2013 by Robertr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Qcow2 disk image to a Raw Image (and LV)

qemu-img convert -p vm.qcow.img -O raw vm.raw.img
dd if=vm.raw.img of=/dev/lg_mygroup/lv_myvol bs=1M