Hyper-V - 无法删除多个检查点

Hyper-V - 无法删除多个检查点

我们有两台在 Windows Server 2016 上运行的 Hyper-V 服务器。一台是主服务器,另一台是主服务器复制到的副本服务器。

我们关闭了副本服务器进行维护,Hyper-V 无法复制到该服务器,我们认为由于这个原因,其中一个虚拟机无法正常运行并创建了多个检查点(可能与此有关,也可能无关)。

无论原因是什么,主服务器上的一台虚拟机现在有 3 个检查点,这给我们带来了存储问题。

没有选项可以删除检查点,如果我单击其中任何一个检查点的删除,就会出现错误:

Cannot delete checkpoint: Catastrophic failure (0x8000FFFF). Checkpoint ID AF4E3BE9-9A1A-4E34-9F7D-F6F7A84531BF.
Virtual machine failed to generate VHD tree: 'Catastrophic failure'('0x8000FFFF').

无论我做什么,我都无法删除它们。我安排了虚拟机维护并将其关闭,认为可能是因为它已启动,但问题依然存在。

我尝试将存储文件更改为较新创建的文件,但由于它是 avhxd,因此它无法启动,因为它需要 vhdx 文件才能启动。

我读到您需要通过 PowerShell 来执行此操作,但是使用它时我遇到了同样的错误。

我们现在遇到的一个问题是,我们将耗尽存储空间,因为原始虚拟机的大小为 600GB,虽然我们有足够的空间,但现在它创建了许多检查点,也达到了相同的大小。

所以...

我该如何解决这个问题?

我能想到的一个选择是导出虚拟机,删除所有内容,然后重新导入导出的虚拟机,这样可以解决问题吗?

如有任何建议,我将不胜感激。

谢谢。

下面是 PowerShell 输出。

    PS C:\Users\Administrator> Get-VMSnapshot -VMName "My VM Name" -ComputerName SERVERNAME | Remove-VMSnapshot
    Remove-VMSnapshot : 'My VM Name' failed to remove checkpoint.
    Cannot delete checkpoint: Catastrophic failure (0x8000FFFF).
    Virtual machine failed to generate VHD tree.
    'My VM Name' failed to remove checkpoint. (Virtual machine ID 33E39D27-D0DB-4F89-A080-6A50E112B941)
    Cannot delete checkpoint: Catastrophic failure (0x8000FFFF). Checkpoint ID 

AF4E3BE9-9A1A-4E34-9F7D-F6F7A84531BF.
Virtual machine failed to generate VHD tree: 'Catastrophic failure'('0x8000FFFF').
At line:1 char:67
+ ...  -VMName "My VM Name" -ComputerName SERVERNAME | Remove-VMSnapshot
+                                                         ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-VMSnapshot], VirtualizationException
    + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.RemoveVMSnapshot

Remove-VMSnapshot : 'My VM Name' failed to remove checkpoint.
Cannot delete checkpoint: Catastrophic failure (0x8000FFFF).
Virtual machine failed to generate VHD tree.
'My VM Name' failed to remove checkpoint. (Virtual machine ID 33E39D27-D0DB-4F89-A080-6A50E112B941)
Cannot delete checkpoint: Catastrophic failure (0x8000FFFF). Checkpoint ID CE0939F2-4E67-4833-905B-C4D8C62A57D8.
Virtual machine failed to generate VHD tree: 'Catastrophic failure'('0x8000FFFF').
At line:1 char:67
+ ...  -VMName "My VM Name" -ComputerName SERVERNAME | Remove-VMSnapshot
+                                                         ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-VMSnapshot], VirtualizationException
    + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.RemoveVMSnapshot

Remove-VMSnapshot : 'My VM Name' failed to remove checkpoint.
Cannot delete checkpoint: Catastrophic failure (0x8000FFFF).
Virtual machine failed to generate VHD tree.
'My VM Name' failed to remove checkpoint. (Virtual machine ID 33E39D27-D0DB-4F89-A080-6A50E112B941)
Cannot delete checkpoint: Catastrophic failure (0x8000FFFF). Checkpoint ID 5C2D8EA1-8DEA-4087-B40D-CC4E99216ECF.
Virtual machine failed to generate VHD tree: 'Catastrophic failure'('0x8000FFFF').
At line:1 char:67
+ ...  -VMName "My VM Name" -ComputerName SERVERNAME | Remove-VMSnapshot
+                                                         ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-VMSnapshot], VirtualizationException
    + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.RemoveVMSnapshot

PS C:\Users\Administrator>

相关内容