I have a proxmox installation.
I'd like to import a vmdk to a lvm and the procedure is:
$ qemu-img convert -p -f vmdk "IE11 - Win7-disk1.vmdk" -O raw "IE11 - Win7-disk1.raw"
and then:
$ dd if="IE11 - Win7-disk1.raw" bs=1M|pv| dd of=/dev/mapper/pve-vm--103--disk--1
And that works fine.
But there are 8.8GB data on a 127GB virtual drive:
$ qemu-img info "IE11 - Win7-disk1.raw"
image: IE11 - Win7-disk1.raw
file format: raw
virtual size: 127G (136365211648 bytes)
disk size: 8.8G
And when i "dd" the raw drive I see 127GB copied when only 8.8G of them matter.
And that's painstakingly slow.
Is there a better way?
I'd like to import a vmdk to a lvm and the procedure is:
$ qemu-img convert -p -f vmdk "IE11 - Win7-disk1.vmdk" -O raw "IE11 - Win7-disk1.raw"
and then:
$ dd if="IE11 - Win7-disk1.raw" bs=1M|pv| dd of=/dev/mapper/pve-vm--103--disk--1
And that works fine.
But there are 8.8GB data on a 127GB virtual drive:
$ qemu-img info "IE11 - Win7-disk1.raw"
image: IE11 - Win7-disk1.raw
file format: raw
virtual size: 127G (136365211648 bytes)
disk size: 8.8G
And when i "dd" the raw drive I see 127GB copied when only 8.8G of them matter.
And that's painstakingly slow.
Is there a better way?
Last edited: