VMware Communities
roozgar
Contributor
Contributor
Jump to solution

convert kvm ide image to vmdk scsi image to use in vmware

i have a vm in kvm and know i have to transfer it to vmware

for this i used this command:

qemu-img convert -c -O vmdk -o adapter_type=lsilogic,hwversion=6 vm-101-disk-0.vmdk 11.vmdk

the ouput image is have lsilogin adapter in file

#head -20 11.vmdk

KDMVP▒▒@▒▒

# Disk DescriptorFile

version=1

CID=20d2c831

parentCID=ffffffff

createType="monolithicSparse"

# Extent description

RW 1342177280 SPARSE "11.vmdk"

# The Disk Data Base

#DDB

ddb.virtualHWVersion = "6"

ddb.geometry.cylinders = "83546"

ddb.geometry.heads = "255"

ddb.geometry.sectors = "63"

ddb.adapterType = "lsilogic" 

but i got this error when add it as existing hard drive

Rp6pm.png

and when i set adapter as "ide" it working good

why vmware dont detect my scsi adapter?

1 Solution

Accepted Solutions
continuum
Immortal
Immortal
Jump to solution

The format monolithicSparse is not a native ESXi format. It is used by Workstation.

You can either import this again with

vmkfstools -i 11.vmdk esxi-compatible.vmdk

or use the raw option - but then you need to create the descriptor-file yourself


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

View solution in original post

3 Replies
continuum
Immortal
Immortal
Jump to solution

The format monolithicSparse is not a native ESXi format. It is used by Workstation.

You can either import this again with

vmkfstools -i 11.vmdk esxi-compatible.vmdk

or use the raw option - but then you need to create the descriptor-file yourself


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

roozgar
Contributor
Contributor
Jump to solution

Thank you for your answer.

i can use these option as subformat

subformat   

VMDK flat extent format, can be one of {monolithicSparse (default) | monolithicFlat |

twoGbMaxExtentSparse | twoGbMaxExtentFlat | streamOptimized}

which is supported and better for esxi 6.7 !?

Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

monolithicFlat is using the same binary file like the standard ESXi compatible VMFS format.

Again you must rewrite the vmdk-descriptorfile.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos