错误使用EC2的开发工具导入VMDK文件开发工具、错误、文件、VMDK

2023-09-11 09:12:46 作者:怡人清欢

尽管VMDK磁盘格式支持EC2导入实例工具,每次我尝试在VMDK文件运行的命令,我得到以下错误:

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: File uses unsupported compression algorithm 0

我引用下面的格式工具:

I invoke the tool in the following format:

    ec2-import-instance -f vmdk -o <ACCESS KEY> -w <SECRET KEY> <VMDK file>

我使用EC2的工具版本1.6.6.1。

I am using ec2 tools version 1.6.6.1.

推荐答案

看起来像它什么都没有做的以com pression算法,而是更多地与作为记录在的http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/VMImport$p$prequisites.html

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