id = 2086 title = "qemu-img created VMDK files lead to \"Unsupported or invalid disk type 7\" on ESXi" state = "opened" created_at = "2024-01-09T17:27:09.353Z" closed_at = "n/a" labels = ["Storage"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2086" host-os = "Ubuntu 20.04" host-arch = "x86" qemu-version = "8.2.50 (v8.2.0-442-gffd454c67e)" guest-os = "VMWare ESXi 7.0" guest-arch = "x86" description = """Trying to start the VM using vmdk converted with qemu-img fails with 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.""" reproduce = """1. Convert booting OS (in both Qemu and VMWare with the help of drivers) to vmdk 2. Push vmdk file to ESXi datastore 3. Try to boot ![image](/uploads/68bea874d75b1a8f6ad7f89f28feb176/image.png)""" additional = """ESXi seem to use a specific implementation of vmdk, with a *name*.vmdk file being the descriptor of the virtual disk and a *name*-flat.vmdk."""