这个错误在不超过5%时发生,导出日志,里面有个task-1-diag-20141124155205-zdvmlo.zip,解开里面有个文件vmware-converter-agent-1.log,看文件名应该是由被转换服务器上面安装的agent生成的,内容有如下距离错误最近的片段:

2014-11-25T00:00:02.296+08:00 [03148 error 'task-1'] VolumeBasedCloneTask::PreDoRun: has failed with MethodFault::Exception: converter.fault.ManagedDiskOpenFault

2014-11-25T00:00:02.296+08:00 [03148 error 'task-1'] TaskImpl has failed with MethodFault::Exception: converter.fault.ManagedDiskOpenFault

2014-11-25T00:00:02.296+08:00 [03148 info 'task-1'] VolumeBasedCloneTask source computer (unknown name) --> target VM (unknown name) updates, state: 4, percentage: 0, xfer rate (Bps): <unknown>

2014-11-25T00:00:02.296+08:00 [03148 info 'task-1'] VolumeBasedCloneTask failed

2014-11-25T00:00:02.296+08:00 [03148 info 'task-1'] CloneTask updates, state: 4, percentage: 0, xfer rate (Bps): <unknown>

2014-11-25T00:00:02.296+08:00 [03148 info 'task-1'] CloneTask failed

2014-11-25T00:00:02.296+08:00 [03148 error 'Default'] Task failed: 

注意里面有写:VolumeBasedCloneTask source computer (unknown name) --> target VM (unknown name) updates, state: 4, percentage: 0, xfer rate (Bps): <unknown>,百度一下可以知道是找不到esxi主机,需要在被转换的主机的host文件中加入esxi主机的解析((c:\windows\system32\drivers\etc\目录下的hosts文件,使用文本编辑器打开)加上解析,该文件有注释说明格式,注意是IP放前面,主机名放后面