Problem
备份失败报错 0xe000942f - 不能获取虚拟机卷的快照。请确认 Hyper-V Virtual Machine Management 服务正在运行, Microsoft Hyper-V VSS 写入器的状态稳定,且虚拟机在Hyper-V宿主机中存在。
Error Message
作业日志错误 :
V-79-57344-37935 - Snapshot Technology: Initialization failure on: "Test::\\HYCLUSTER.Test.local\Hyper-V?HA?VM\VirtualMachineName". Snapshot technology used: Microsoft Volume Shadow Copy Service (VSS).Snapshot technology error (0xE000942F): Cannot capture a snapshot of the virtual machine volumes. Ensure that the Hyper-V Virtual Machine Management Service is running, the status of the Microsoft Hyper-V VSS writer is Stable and the virtual machine is present on the Hyper-V server.Check the Windows Event Viewer for details.
Cause
导致这种备份报错的异常现象,可能存在以下情况:
1 在备份期间Hyper-V Virtual Machine Management服务已经停止。
2 如果Hyper-V VSS写入器 在宿主机上缺失,或者VSS 写入器存在,但是失效的状态。
3 备份异常的虚拟机可能已被重命名或在Hyper-V宿主机上不可用。
4 如果Hyper-V Integration Services 没有被安装,或者Hyper-V宿主机与虚拟机中安装的Hyper-V Integration Services 版本不匹配。
Solution
1 确认 Hyper-V Virtual Machine Management 服务在Hyper-V宿主机上正在运行,如果没有运行,请启动服务后再运行备份。
2 在Hyper-V 宿主机以及它的虚拟机上检查写入器的状态,在命令提示符下执行“vssadmin list writers”(不带引号),在服务器上没有作业正在运行的时候,所有的写入器的状态应该是“稳定”和“没有错误”,在Hyper-V 宿主机上,Microsoft Hyper V VSS写入器必须可见,且状态稳定,没有错误。
3 如果虚拟机已被重命名或从宿主机上删除,则备份将失败,并出现上述错误。因此必须将虚拟机从现有备份作业定义的选择列表中删除,或重新创建备份作业可解决该问题。
4 虚拟机上必须安装Hyper-V Integration Services。如果Hyper-V宿主机与虚拟机中安装的Hyper-V Integration Services 版本不匹配,必须更新 Integration Services。