[Solved] qemu-img convert gives error: Unsupported image type 'seSparse'

davec

New Member
Jun 8, 2015
15
1
1
Iowa
Any idea what I can do to correct this to make it work ? Google searchs have proven elusive in search for an answer.

root@prox2:/mnt/pve/NAS-VMWARE/daveskb# ls -latrh
total 6.8G
-rw-r--r-- 1 root root 0 Apr 22 2014 daveskb.vmsd
-rw-r--r-- 1 root root 262 Apr 22 2014 daveskb.vmxf
-rw-r--r-- 1 root root 166K Nov 9 21:35 vmware-21.log
-rw-r--r-- 1 root root 166K Nov 9 21:47 vmware-22.log
-rw-r--r-- 1 root root 112K Nov 9 22:01 vmware-23.log
-rw-r--r-- 1 root root 45K Nov 9 22:04 vmware-24.log
-rw-r--r-- 1 root root 45K Nov 9 22:04 vmware-25.log
-rw-r--r-- 1 root root 166K Nov 9 22:12 vmware-26.log
-rw------- 1 root root 497 Nov 9 23:18 daveskb.vmdk
-rw------- 1 root root 8.5K Nov 9 23:41 daveskb.nvram
-rw------- 1 root root 6.9G Nov 9 23:41 daveskb-sesparse.vmdk
-rwxr-xr-x 1 root root 2.4K Nov 9 23:41 daveskb.vmx
-rw-r--r-- 1 root root 166K Nov 9 23:41 vmware.log




root@prox2:/mnt/pve/NAS-VMWARE/daveskb# qemu-img convert -f vmdk /mnt/pve/NAS-VMWARE/daveskb/daveskb.vmdk -O qcow2 /mnt/pve/NAS-qcow2/images/daveskb.qcow2
qemu-img: Could not open '/mnt/pve/NAS-VMWARE/daveskb/daveskb.vmdk': Unsupported image type 'seSparse'
 
Last edited:
Re: qemu-img convert gives error: Unsupported image type 'seSparse'

Hi Dave
Looks like seSparse disks are not supported from qemu-img. You should export the disks from VMware to another format, for instance export them for an older version of VMware without seSparse, and then try to convert them again with qemu-img.
 
Re: qemu-img convert gives error: Unsupported image type 'seSparse'

OK, that pointed me in the right direction... and I was able to get it to work. Posting here what I did to convert this VmWare VM to Proxmox and qcow2 format.

ON PROXMOX GUI: create the new vm.

ON the ESXI host:
vmkfstools -i "/vmfs/volumes/12493403-93acb85f/daveskb/daveskb.vmdk" "/vmfs/volumes/12493403-93acb85f/daveskb2.vmdk" -d thin -a buslogic

ON PROXMOX SHELL:
qemu-img convert -f vmdk /mnt/pve/NAS-VMWARE/daveskb2.vmdk -O qcow2 /mnt/pve/NAS-qcow2/images/daveckbtemp.qcow2

root@prox2:/mnt/pve/NAS-qcow2/images/104# mv ../daveckbtemp.qcow2 vm-104-disk-1.qcow2


Hope that helps someone else searching on the net :) Thanks again for pointing me in the right direction.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!