Convert vmdk image to qcow on ZFS

yena

Renowned Member
Nov 18, 2011
385
6
83
What is the correct procedure to convert a vmdk image to a qemu KVM ZFS image ?
( i need ZFS Replication .. )

If i create a vm-1001-disk-1 and than:

dd if=win2012-pve.vmdk of=/rpool/data/vm-1001-disk-1

Thanks!
 
Hi,

this do not work.

use
"qemu-img -f vmdk -O raw <path>/win2012-pve.vmdk /dev/zvol/rpool/data/vm-10001-disk-1"
 
  • Like
Reactions: BrandonN and yena
@cloudtinker

Does the zvol already exist?
If not you have to create it first. qemu-img can not create zvols.