Hi guys, I'm using qemu-img to convert a VHD to a VMDK which works really well.
However, by default it converts it as an IDE "disk" which works fine. I can attach it and boot my VM using it.
But I would like to make it a SCSI disk instead of IDE. I have tried using the switch "-o adapter_type=buslogic" to convert it into a SCSI disk, but when I try to attach it to my VM in esx I get an error when it powers on.
Power On virtual machine:Failed to open disk scsi0:1: Unsupported or invalid disk type 7. Ensure that the disk has been imported.
Target: MyVM3
vCenter Server: VCENTER
Error Stack
An error was received from the ESX host while powering on VM MyVM3.
Failed to start the virtual machine.
Module DevicePowerOn power on failed.
Unable to create virtual SCSI device for scsi0:1, '/vmfs/volumes/5cca0155-bdddf31d-2714-00215acbeb1e/AppD-VM01/AppDdisk1-buslogic.vmdk'
Failed to open disk scsi0:1: Unsupported or invalid disk type 7. Ensure that the disk has been imported.
qemu-img convert VHD to VMDK (scsi)
Moderators: Cat_7, Ronald P. Regensburg
Re: qemu-img convert VHD to VMDK (scsi)
Hi,
I guess this question would stand a better chance to receive a correct answer on the qemu mailing list.
However, I see you can set compatibility and adapter types.
So perhaps trying another adapter and setting compat=on (to convert to v6 format instead of v7) might do the trick.
-o adapter_type=lsilogic compat=on
Best,
Cat_7
I guess this question would stand a better chance to receive a correct answer on the qemu mailing list.
However, I see you can set compatibility and adapter types.
So perhaps trying another adapter and setting compat=on (to convert to v6 format instead of v7) might do the trick.
-o adapter_type=lsilogic compat=on
Best,
Cat_7
Re: qemu-img convert VHD to VMDK (scsi)
Hi, thanks for the reply.
I have also tried using hwversion=6 but that hasn't helped.
qemu-img.exe convert "Y:\test\App1_disk1.vhd" -O vmdk -o adapter_type=buslogic,hwversion=6 -p "Y:\test\AppDdisk1_disk1.vmdk"
If I use compat6=on I receive an error:
error while converting vmdk: compat6 cannot be enabled with hwversion set
Where do I find the "qemu mailing list", and how would I ask my question?
I have also tried using hwversion=6 but that hasn't helped.
qemu-img.exe convert "Y:\test\App1_disk1.vhd" -O vmdk -o adapter_type=buslogic,hwversion=6 -p "Y:\test\AppDdisk1_disk1.vmdk"
If I use compat6=on I receive an error:
error while converting vmdk: compat6 cannot be enabled with hwversion set
Where do I find the "qemu mailing list", and how would I ask my question?
Re: qemu-img convert VHD to VMDK (scsi)
Here are the various qemu mailing lists:
https://wiki.qemu.org/Contribute/MailingLists
Send a message to e.g., qemu-discuss@nongnu.org
Best,
Cat_7
https://wiki.qemu.org/Contribute/MailingLists
Send a message to e.g., qemu-discuss@nongnu.org
Best,
Cat_7