Login  •  Register


The time is now: Thu Oct 17, 2019 1:33 pm

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 4 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Fri May 10, 2019 3:41 am 
Offline
Space Cadet

Joined: Fri May 10, 2019 3:13 am
Posts: 2
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.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri May 10, 2019 5:19 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4682
Location: Sittard, The Netherlands
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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri May 10, 2019 5:31 am 
Offline
Space Cadet

Joined: Fri May 10, 2019 3:13 am
Posts: 2
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?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri May 10, 2019 5:56 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4682
Location: Sittard, The Netherlands
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


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 4 posts ]


Who is online

Users browsing this forum: Google [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group