码迷,mamicode.com
首页 > 其他好文 > 详细

The parent virtual disk has been modified since the child was created

时间:2016-06-08 12:37:04      阅读:667      评论:0      收藏:0      [点我收藏+]

标签:vmware cid parent virtual disk modified


Problem:

技术分享


具体的消息是:

Failed to start the virtual machine.

Module DiskEarly power on failed.

Cannot open the disk ‘/vmfs/volumes/54627907-c2477c60-ec2b-0024e8573a7f/WebServer_Version2/WebServer_Version 2-000008.vmdk‘ or one of the snapshot disks it depends on.

The parent virtual disk hasbeen modified since the child was created. The content ID of the parent virtual disk doesnot match the corresponding parent content ID in the child



解决方法参考:

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1007969

 


 解决方法和思路:

--------------------------------------

1. 先开启任意一个机器上的SSH服务

2. 然后用ssh 登录到这个ESXI计算机上

3. 运行下面的命令

Cat WebServer_Version\ 2.vmdk

------------------------------------------------------------

# Disk DescriptorFile

version=1

encoding="UTF-8"

CID=60025a0a

parentCID=ffffffff

isNativeSnapshot="no"

createType="vmfs"

# Extent description

RW 167772160 VMFS "WebServer_Version 2-flat.vmdk"

# The Disk Data Base

#DDB

ddb.adapterType = "lsilogic"

ddb.deletable = "true"

ddb.geometry.cylinders = "10443"

ddb.geometry.heads = "255"

ddb.geometry.sectors = "63"

ddb.longContentID ="4335f3cc11a7c8500cdb139a60025a0a"

ddb.uuid = "60 00 C2 99 f5 15 36 81-06 e3 f8 b6 66 dc30 de"

ddb.virtualHWVersion = "8"

 

/vmfs/volumes/54627907-c2477c60-ec2b-0024e8573a7f/WebServer_Version2 # cat WebServer_Version\ 2-000008.vmdk

# Disk DescriptorFile

version=1

encoding="UTF-8"

CID=7e05ba5d

parentCID=75d5382b


createType="vmfsSparse"

parentFileNameHint="WebServer_Version 2.vmdk"

# Extent description

RW 167772160 VMFSSPARSE "WebServer_Version2-000008-delta.vmdk"

 # The Disk Data Base

#DDB

 ddb.longContentID = "901af6c76efda040f8d76a817e05ba5d"


4. 在检查的vmdk中,我们可以看到parentCID是和上面的CID不一样的。

5. 然后把备份这个文件夹通过下载的方法

6. 编辑WebServer_Version\ 2-000008.vmdk中的ParentCID为60025a0a


P.S.

在ESXI中所有的VM都存放在/vmfs/volumes下面,后面的一串ID是和我们建立存储的friendly的一个硬连接


本文出自 “苏兰网络” 博客,转载请与作者联系!

The parent virtual disk has been modified since the child was created

标签:vmware cid parent virtual disk modified

原文地址:http://zhangfang526.blog.51cto.com/8588740/1787202

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!