Disk2vhd:复制过程中出错。 由于I / O错误,无法执行错误

我试图通过使用Microsoft Sysinternals的disk2vhd将完全修补的Windows Server2008 R2系统磁盘转换为VHD。

每次error during copy. The error could not be performed due to an I/O error转换都会失败,并显示error during copy. The error could not be performed due to an I/O error 无论是否起诉vhdvhdx格式,或者使用Volume Shadow Copy选项, error during copy. The error could not be performed due to an I/O error

我是本地pipe理员,以pipe理员身份运行disk2vhd,并已禁用服务器上的防病毒软件,但是没有区别。

我在事件日志中看到这个事件与错误大致相同,所以我怀疑它们是相关的。

卷影复制服务错误:意外的错误查询IVssWriterCallback接口。 小时= 0x80070005,访问被拒绝。 这通常是由写入程序或请求程序过程中不正确的安全设置引起的。

操作:收集作者数据

上下文:作家类ID:{GUID}作家名:系统作家

编写器实例ID:{GUID}

disk2vhd io错误截图

这里有什么问题,为什么我不能转换这个磁盘?

它的愚蠢,但首先运行chdisk(是的,即使你没有得到任何错误信息或其他地方的问题)之前再次运行hd2vhd已经解决了我们太多次。

那么,首先,你应该使用一个全面的Hyper-V P2V解决scheme,比如微软的Virtual Machine Manager 。 另外, VMware转换器是P2Ving任何机器的标准解决scheme,因为它是免费的,支持大部分你可以find的东西,并得到顶级虚拟化公司的支持。 (你可以使用P2V,将虚拟机装入OVF FLEX,然后你就可以将OVF导入Hyper-V主机。)

至于其他:

  1. 只是将系统驱动器转换为虚拟磁盘格式不会导致可引导的系统。
  2. 你正试图转换System Reserved分区(这是给你的错误 – 你不能访问,即使作为pipe理员)。

在详细了解事件日志条目后,build议DCOM需要更多权限才能解决访问被拒绝的消息(添加networking服务)。

看到这里: http : //www.terabyteunlimited.com/kb/article.php?id=563

这解决了第一个问题。 现在在事件日志中说:

 The shadow copies of volume C: were aborted because of an IO failure on volume C:. 

和很多这样的:

 The driver detected a controller error on \Device\Ide\IdePort0 

如果我到任何地方,我会研究这个,并发表一个答复。 磁盘失败,我们从诊断知道这一点,所以我希望它不会太远!

将物理Windows服务器移植到HyperV时,我已经成功使用XenServer的免费Xen转换工具。

Xen转换: https : //www.citrix.com/go/products/xenserver/xenserver-xenconvert-free.html

Xen Convert Documentation: http : //support.citrix.com/servlet/KbServlet/download/28774-102-661315/XenConvertGuide.pdf

注意 :我还没有足够的“积分”发表评论。 所以我同意一个可能绕过这个问题的build议。 一般Xen转换是一个更强大的工具然后sysinternals disk2vhd,我build议用户尝试。