qemu-img created VMDK files lead to "Unsupported or invalid disk type 7"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
Using qemu-img version 3.1.50 (v3.1.0-
Converting a VHD to VMDK.
qemu-img.exe convert "c:\test\
I have also tried:
qemu-img.exe convert "c:\test\
Attaching the VMDK to a VM in VMware produces the following error when powering 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: MyVM1
vCenter Server: VCENTER
Error Stack
An error was received from the ESX host while powering on VM MyVM1.
Failed to start the virtual machine.
Module DevicePowerOn power on failed.
Unable to create virtual SCSI device for scsi0:1, '/vmfs/
Failed to open disk scsi0:1: Unsupported or invalid disk type 7. Ensure that the disk has been imported.
If I do not specify the adapter type, it creates an IDE VMDK which works perfectly.
On Fri, May 10, 2019 at 06:06:32AM -0000, Jake Mikelson wrote: 13607-geb2db0f7 ba-dirty) on a AppD-VM01. vhd" -O vmdk -o adapter_ type=buslogic -p "c:\test\ AppD-VM01. vmdk" AppD-VM01. vhd" -O vmdk -o adapter_ type=buslogic, hwversion= 6 -p "c:\test\ AppD-VM01. vmdk" volumes/ 5cca0155- bdddf31d- 2714-00215acbeb 1e/AppD- VM01/AppDdisk1- VM01.vmdk' /bugs.launchpad .net/bugs/ 1828508
> Public bug reported:
>
> Using qemu-img version 3.1.50 (v3.1.0-
> Windows 10 machine.
>
> Converting a VHD to VMDK.
> qemu-img.exe convert "c:\test\
>
> I have also tried:
> qemu-img.exe convert "c:\test\
>
> Attaching the VMDK to a VM in VMware produces the following error when
> powering 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: MyVM1
> vCenter Server: VCENTER
> Error Stack
> An error was received from the ESX host while powering on VM MyVM1.
> Failed to start the virtual machine.
> Module DevicePowerOn power on failed.
> Unable to create virtual SCSI device for scsi0:1, '/vmfs/
> Failed to open disk scsi0:1: Unsupported or invalid disk type 7. Ensure that the disk has been imported.
>
>
> If I do not specify the adapter type, it creates an IDE VMDK which works perfectly.
>
> ** Affects: qemu
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of qemu-
> devel-ml, which is subscribed to QEMU.
> https:/
Which version of VMware are you running?
Stefan