vmware | 虚拟机 vmdk hdd 错误

vmware | 虚拟机 vmdk hdd 错误

排除电源故障后我收到以下消息:

 Reason: 5 (Input/output error).
 Cannot open the disk '/vmfs/volumes/4d78ed66-47c6d550-de03-0017a4770002/tory/tory-000002.vmdk' or one of the snapshot disks it depends on.

我该如何修复?从旧磁盘创建新磁盘失败(使用 vmkfstools),parentCID 和 CID 值正确。

我还可以做些什么?

Input/output error (327689)

仅供参考:此情况是由于电力问题(UPS 故障)引起的。


更多细节

Jun 03 12:26:59.808: vmx| DISK: OPEN scsi0:0 '/vmfs/volumes/4d78ed66-47c6d550-de03-0017a4770002/ctory/ctory-000002.vmdk' persistent R[]
Jun 03 12:26:59.824: vmx| DISKLIB-VMFS  : "/vmfs/volumes/4d78ed66-47c6d550-de03-0017a4770002/ctory/ctory-000002-delta.vmdk" : open successful (10) size = 26742988800, hd = 16581470. Type 8
Jun 03 12:26:59.824: vmx| DISKLIB-DSCPTR: Opened [0]: "ctory-000002-delta.vmdk" (0xa)
Jun 03 12:26:59.824: vmx| DISKLIB-LINK  : Opened '/vmfs/volumes/4d78ed66-47c6d550-de03-0017a4770002/ctory/ctory-000002.vmdk' (0xa): vmfsSparse, 104857600 sectors / 50 GB.
Jun 03 12:26:59.827: vmx| DISKLIB-VMFS  : "/vmfs/volumes/4d78ed66-47c6d550-de03-0017a4770002/ctory/ctory-flat.vmdk" : open successful (14) size = 53687091200, hd = 4490092. Type 3
Jun 03 12:26:59.827: vmx| DISKLIB-DSCPTR: Opened [0]: "ctory-flat.vmdk" (0xe)
Jun 03 12:26:59.827: vmx| DISKLIB-LINK  : Opened '/vmfs/volumes/4d78ed66-47c6d550-de03-0017a4770002/ctory/ctory.vmdk' (0xe): vmfs, 104857600 sectors / 50 GB.
Jun 03 12:26:59.827: vmx| DISKLIB-CHAINESX : ChainESXOpenSubChain: numLinks = 2, numSubChains = 1
Jun 03 12:26:59.884: vmx| DISKLIB-CHAINESX : ChainESXOpenSubChainNode: can't create deltadisk node 746e6f09-ctory-000002-delta.vmdk failed with error Input/output error (0xbad000a, I/O error)
Jun 03 12:26:59.884: vmx| DISKLIB-CHAIN : "/vmfs/volumes/4d78ed66-47c6d550-de03-0017a4770002/ctory/ctory-000002.vmdk" : failed to open (Input/output error).
Jun 03 12:26:59.884: vmx| DISKLIB-VMFS  : "/vmfs/volumes/4d78ed66-47c6d550-de03-0017a4770002/ctory/ctory-000002-delta.vmdk" : closed.
Jun 03 12:26:59.885: vmx| DISKLIB-VMFS  : "/vmfs/volumes/4d78ed66-47c6d550-de03-0017a4770002/ctory/ctory-flat.vmdk" : closed.
Jun 03 12:26:59.885: vmx| DISKLIB-LIB   : Failed to open '/vmfs/volumes/4d78ed66-47c6d550-de03-0017a4770002/ctory/ctory-000002.vmdk' with flags 0xa Input/output error (327689).
Jun 03 12:26:59.885: vmx| DISK: Cannot open disk "/vmfs/volumes/4d78ed66-47c6d550-de03-0017a4770002/ctory/ctory-000002.vmdk": Input/output error (327689).
Jun 03 12:26:59.885: vmx| Msg_Post: Error
Jun 03 12:26:59.886: vmx| [msg.disk.noBackEnd] Cannot open the disk '/vmfs/volumes/4d78ed66-47c6d550-de03-0017a4770002/ctory/ctory-000002.vmdk' or one of the snapshot disks it depends on.
Jun 03 12:26:59.886: vmx| [msg.disk.configureDiskError] Reason: Input/output error.----------------------------------------
Jun 03 12:26:59.896: vmx| Module DiskEarly power on failed.

答案1

看起来你的崩溃已经损坏了你的一个虚拟驱动器 .vmdk 文件。

ctory-flat.vmdk 文件保存着您的所有数据 - 这是最重要的文件。此文件:ctory-000002-delta.vmdk 是快照,或正在运行的虚拟机在某个时间点的备份。

其他.vmdk 文件是“描述符”文件或配置文件。

您的任务是重建此“描述符”文件以匹配虚拟驱动器的驱动器指标。

VMWare 知识库文章解释如何做。

相关内容