将更多磁盘连接到虚拟机时,hyper-v 失败。虚拟机无法启动并生成错误

将更多磁盘连接到虚拟机时,hyper-v 失败。虚拟机无法启动并生成错误

我不知道该怎么做:

你好...

系统:Windows 2008 R2 Hyper-V 场运行故障转移群集,以 EVA 4400 作为后端。

当我将新磁盘连接到虚拟机时,尝试启动它时失败。

如果我将虚拟机移动到另一个节点(比如节点 1),我可以添加磁盘并让它们启动。

如果我将虚拟机移回出现问题的节点 2,并且虚拟机正在运行,则会在实时迁移期间收到错误,并且虚拟机会故障恢复到它运行的节点 1...

因此,这就像节点 2 上的 Hyper-V 出现了问题,而不是节点 1。节点 3 也存在同样的问题。

重新启动节点不是一个选择,因为稍后我会再次遇到这个问题,而且不是所有的虚拟机都可以在节点 1 上运行,这意味着我的客户公司将在未在节点 1 上运行的虚拟机上遇到停机。

有办法解决这个问题吗?也许我错过了更新?已经两年了……

错误如下:

An error ocurred while attempting to change the state of virtual machine XXX.  

'XXX' failed to start.  

Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to power on with Error 'A device attached to the system is not functioning.'  

Failed to open attachment 'X:\XXX.vhd'. Error: 'A device attached to the system is not functioning.'  

Failed to open attachment 'X:\XXX.vhd'. Error: 'A device attached to the system is not functioning.'  

'XXX' failed to start. (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08)  

Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to power on with Error 'A device attached to the system is not functioning.' (0x8007001F). (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08)  

'XXX': Failed to open attachment 'X:\XXX.vhd'. Error: 'A device attached to the system is not functioning.' (0x8007001F). (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08)  

'XXX': Failed to open attachment 'X:\XXX.vhd'. Error: 'A device attached to the system is not functioning.' (0x8007001F). (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08) 
An error ocurred while attempting to change the state of virtual machine XXX.  

'XXX' failed to start.  

Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to power on with Error 'A device attached to the system is not functioning.'  

Failed to open attachment 'X:\XXX.vhd'. Error: 'A device attached to the system is not functioning.'  

Failed to open attachment 'X:\XXX.vhd'. Error: 'A device attached to the system is not functioning.'  

'XXX' failed to start. (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08)  

Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to power on with Error 'A device attached to the system is not functioning.' (0x8007001F). (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08)  

'XXX': Failed to open attachment 'X:\XXX.vhd'. Error: 'A device attached to the system is not functioning.' (0x8007001F). (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08)  

'XXX': Failed to open attachment 'X:\XXX.vhd'. Error: 'A device attached to the system is not functioning.' (0x8007001F). (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08) 
An error ocurred while attempting to change the state of virtual machine XXX.  

'XXX' failed to start.  

Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to power on with Error 'A device attached to the system is not functioning.'  

Failed to open attachment 'c:\clusterstorage/volume1/XXX.vhd'. Error: 'A device attached to the system is not functioning.'  

Failed to open attachment 'c:\clusterstorage/volume1\XXX.vhd'. Error: 'A device attached to the system is not functioning.'  

'XXX' failed to start. (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08)  

Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to power on with Error 'A device attached to the system is not functioning.' (0x8007001F). (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08)  

'XXX': Failed to open attachment 'c:\clusterstorage/volume1\XXX.vhd'. Error: 'A device attached to the system is not functioning.' (0x8007001F). (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08)  

'XXX': Failed to open attachment 'c:\clusterstorage/volume1\XXX.vhd'. Error: 'A device attached to the system is not functioning.' (0x8007001F). (Virtual machine 36563C78-65B5-4C40-A52D-689BB39E8B08) 

在 Hyper-V 日志中我发现了更多错误:

在 hyper-v VMMS 日志中我有以下内容:

“ServerName”无法执行该操作。虚拟机未处于执行该操作的有效状态。(虚拟机 ID 0A6CC4A9-39D6-4413-8CF0-B6DAA35B68D7)

答案1

您的存储是否通过了集群验证测试?我唯一一次遇到实时迁移问题就是当我安装不在 CSV 或共享存储上的 DVD/ISO 或某些东西时。关键是 CSV 或共享存储。

当你看到 x:\xxx.vhd 时,有些事情很可疑,然后你会看到 c:\clusterstorage/volume1

在数百次 hyper-v r2 CSV 安装中我所见过的唯一失败都是人为错误!

相关内容