Error importing vmdk files using ec2 developer tools

纵饮孤独 提交于 2019-12-01 16:50:35

Looks like it's got nothing to do with "compression algorithm" but instead more to do with supported vmdk formats as documented in http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/VMImportPrerequisites.html

ERROR: File uses unsupported compression algorithm 0. The VMDK was created using OVA format instead of OVF format.

Resolution

Create the VMDK in OVF format.

I fixed this for myself by exporting my VM from VirtualBox(where I created it). This exported its into OVF format(I had to change the default exention from OVA to OVF). Then ec2-import-instance worked.

This put me on the right track when converting to RAW using qemu-img did not work.

This ec2 migration tool works with both VMware workstation and ESX http://cloudscraper.migrate2iaas.com/ Just run it from your running server.

I have experienced the same issue. My solution: the StarWind V2V converter to convert VMDK to RAW (-f RAW) or VHD (-f VHD).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!