Error importing vmdk files using ec2 developer tools

后端 未结 5 1977
既然无缘
既然无缘 2021-01-18 04:16

Although vmdk disk format is supported by ec2-import-instance tool, every time I try to run the command on a vmdk file, I get the following error:

    ERROR         


        
相关标签:
5条回答
  • 2021-01-18 04:48

    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.

    0 讨论(0)
  • 2021-01-18 05:00

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

    0 讨论(0)
  • 2021-01-18 05:05

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

    0 讨论(0)
  • 2021-01-18 05:09

    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

    0 讨论(0)
  • 2021-01-18 05:10

    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.

    0 讨论(0)
提交回复
热议问题