All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1828508] [NEW] qemu-img created VMDK files lead to "Unsupported or invalid disk type 7"
@ 2019-05-10  6:06 Jake Mikelson
  2019-05-15 10:23   ` Stefan Hajnoczi
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jake Mikelson @ 2019-05-10  6:06 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Using qemu-img version 3.1.50 (v3.1.0-13607-geb2db0f7ba-dirty) on a
Windows 10 machine.

Converting a VHD to VMDK.
qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic -p "c:\test\AppD-VM01.vmdk"

I have also tried:
qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic,hwversion=6 -p "c:\test\AppD-VM01.vmdk"

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/volumes/5cca0155-bdddf31d-2714-00215acbeb1e/AppD-VM01/AppDdisk1-VM01.vmdk' 
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://bugs.launchpad.net/bugs/1828508

Title:
  qemu-img created VMDK files lead to "Unsupported or invalid disk type
  7"

Status in QEMU:
  New

Bug description:
  Using qemu-img version 3.1.50 (v3.1.0-13607-geb2db0f7ba-dirty) on a
  Windows 10 machine.

  Converting a VHD to VMDK.
  qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic -p "c:\test\AppD-VM01.vmdk"

  I have also tried:
  qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic,hwversion=6 -p "c:\test\AppD-VM01.vmdk"

  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/volumes/5cca0155-bdddf31d-2714-00215acbeb1e/AppD-VM01/AppDdisk1-VM01.vmdk' 
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1828508/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [Bug 1828508] [NEW] qemu-img created VMDK files lead to "Unsupported or invalid disk type 7"
@ 2019-05-15 10:23   ` Stefan Hajnoczi
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Hajnoczi @ 2019-05-15 10:23 UTC (permalink / raw)
  To: Bug 1828508; +Cc: fam, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1557 bytes --]

On Fri, May 10, 2019 at 06:06:32AM -0000, Jake Mikelson wrote:
> Public bug reported:
> 
> Using qemu-img version 3.1.50 (v3.1.0-13607-geb2db0f7ba-dirty) on a
> Windows 10 machine.
> 
> Converting a VHD to VMDK.
> qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic -p "c:\test\AppD-VM01.vmdk"
> 
> I have also tried:
> qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic,hwversion=6 -p "c:\test\AppD-VM01.vmdk"
> 
> 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/volumes/5cca0155-bdddf31d-2714-00215acbeb1e/AppD-VM01/AppDdisk1-VM01.vmdk' 
> 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://bugs.launchpad.net/bugs/1828508

Which version of VMware are you running?

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [Bug 1828508] [NEW] qemu-img created VMDK files lead to "Unsupported or invalid disk type 7"
@ 2019-05-15 10:23   ` Stefan Hajnoczi
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Hajnoczi @ 2019-05-15 10:23 UTC (permalink / raw)
  To: qemu-devel

On Fri, May 10, 2019 at 06:06:32AM -0000, Jake Mikelson wrote:
> Public bug reported:
> 
> Using qemu-img version 3.1.50 (v3.1.0-13607-geb2db0f7ba-dirty) on a
> Windows 10 machine.
> 
> Converting a VHD to VMDK.
> qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic -p "c:\test\AppD-VM01.vmdk"
> 
> I have also tried:
> qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic,hwversion=6 -p "c:\test\AppD-VM01.vmdk"
> 
> 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/volumes/5cca0155-bdddf31d-2714-00215acbeb1e/AppD-VM01/AppDdisk1-VM01.vmdk' 
> 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://bugs.launchpad.net/bugs/1828508

Which version of VMware are you running?

Stefan

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1828508

Title:
  qemu-img created VMDK files lead to "Unsupported or invalid disk type
  7"

Status in QEMU:
  New

Bug description:
  Using qemu-img version 3.1.50 (v3.1.0-13607-geb2db0f7ba-dirty) on a
  Windows 10 machine.

  Converting a VHD to VMDK.
  qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic -p "c:\test\AppD-VM01.vmdk"

  I have also tried:
  qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic,hwversion=6 -p "c:\test\AppD-VM01.vmdk"

  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/volumes/5cca0155-bdddf31d-2714-00215acbeb1e/AppD-VM01/AppDdisk1-VM01.vmdk' 
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1828508/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1828508] Re: qemu-img created VMDK files lead to "Unsupported or invalid disk type 7"
  2019-05-10  6:06 [Qemu-devel] [Bug 1828508] [NEW] qemu-img created VMDK files lead to "Unsupported or invalid disk type 7" Jake Mikelson
  2019-05-15 10:23   ` Stefan Hajnoczi
@ 2019-05-16  1:44 ` Jake Mikelson
  2021-04-22  6:14 ` Thomas Huth
  2021-06-22  4:18 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 6+ messages in thread
From: Jake Mikelson @ 2019-05-16  1:44 UTC (permalink / raw)
  To: qemu-devel

Hi, I'm running 5.5.

I've been playing around with some of the options, and if I run the
below, I end up with 2 files.

qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o
adapter_type=lsilogic,subformat=monolithicFlat -p "c:\test\AppD-
VM01.vmdk"

The files I get are:
AppD-VM01.vmdk (which is always 12kb)
AppD-VM01-flat.vmdk (which is the full size of the disk, eg 30GB).

If I then upload both of these files to the datastore, they somehow
merge into 1 and I can attach and power on the VM. If you dont upload
both files into the datastore, VMware does not recognise it.

This is the only method that seems to work for me.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1828508

Title:
  qemu-img created VMDK files lead to "Unsupported or invalid disk type
  7"

Status in QEMU:
  New

Bug description:
  Using qemu-img version 3.1.50 (v3.1.0-13607-geb2db0f7ba-dirty) on a
  Windows 10 machine.

  Converting a VHD to VMDK.
  qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic -p "c:\test\AppD-VM01.vmdk"

  I have also tried:
  qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic,hwversion=6 -p "c:\test\AppD-VM01.vmdk"

  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/volumes/5cca0155-bdddf31d-2714-00215acbeb1e/AppD-VM01/AppDdisk1-VM01.vmdk' 
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1828508/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 1828508] Re: qemu-img created VMDK files lead to "Unsupported or invalid disk type 7"
  2019-05-10  6:06 [Qemu-devel] [Bug 1828508] [NEW] qemu-img created VMDK files lead to "Unsupported or invalid disk type 7" Jake Mikelson
  2019-05-15 10:23   ` Stefan Hajnoczi
  2019-05-16  1:44 ` [Qemu-devel] [Bug 1828508] " Jake Mikelson
@ 2021-04-22  6:14 ` Thomas Huth
  2021-06-22  4:18 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2021-04-22  6:14 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently considering to move its bug tracking to
another system. For this we need to know which bugs are still valid
and which could be closed already. Thus we are setting older bugs to
"Incomplete" now.

If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.

Thank you and sorry for the inconvenience.

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1828508

Title:
  qemu-img created VMDK files lead to "Unsupported or invalid disk type
  7"

Status in QEMU:
  Incomplete

Bug description:
  Using qemu-img version 3.1.50 (v3.1.0-13607-geb2db0f7ba-dirty) on a
  Windows 10 machine.

  Converting a VHD to VMDK.
  qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic -p "c:\test\AppD-VM01.vmdk"

  I have also tried:
  qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic,hwversion=6 -p "c:\test\AppD-VM01.vmdk"

  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/volumes/5cca0155-bdddf31d-2714-00215acbeb1e/AppD-VM01/AppDdisk1-VM01.vmdk' 
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1828508/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 1828508] Re: qemu-img created VMDK files lead to "Unsupported or invalid disk type 7"
  2019-05-10  6:06 [Qemu-devel] [Bug 1828508] [NEW] qemu-img created VMDK files lead to "Unsupported or invalid disk type 7" Jake Mikelson
                   ` (2 preceding siblings ...)
  2021-04-22  6:14 ` Thomas Huth
@ 2021-06-22  4:18 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 6+ messages in thread
From: Launchpad Bug Tracker @ 2021-06-22  4:18 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1828508

Title:
  qemu-img created VMDK files lead to "Unsupported or invalid disk type
  7"

Status in QEMU:
  Expired

Bug description:
  Using qemu-img version 3.1.50 (v3.1.0-13607-geb2db0f7ba-dirty) on a
  Windows 10 machine.

  Converting a VHD to VMDK.
  qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic -p "c:\test\AppD-VM01.vmdk"

  I have also tried:
  qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=buslogic,hwversion=6 -p "c:\test\AppD-VM01.vmdk"

  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/volumes/5cca0155-bdddf31d-2714-00215acbeb1e/AppD-VM01/AppDdisk1-VM01.vmdk' 
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1828508/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-06-22  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-10  6:06 [Qemu-devel] [Bug 1828508] [NEW] qemu-img created VMDK files lead to "Unsupported or invalid disk type 7" Jake Mikelson
2019-05-15 10:23 ` Stefan Hajnoczi
2019-05-15 10:23   ` Stefan Hajnoczi
2019-05-16  1:44 ` [Qemu-devel] [Bug 1828508] " Jake Mikelson
2021-04-22  6:14 ` Thomas Huth
2021-06-22  4:18 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.