vmware "parent of this virtual disk could not be opened" moved windows linux
Problem:
Moved a Virtual Machine setup (Windows 2003 Server RC2) that was created on a machine running Windows (2003 server) to a Linux machine (RedHat Enterprise 4) and get the following error when you try to view the the disk properties or start the Virtual Machine:
... "parent of this virtual disk could not be opened" ...
Solution:
If you've taken a snapshot for this VM in the past there will be a text file with a name like: "Windows Server 2003 Standard Edition-000001.vmdk". Stupidly, this contains a full path reference to the location of the "parent file" (which by default will be in the same folder). This has to be changed if you move the VM to another host machine.
Below is what this file looked like ... simply remove the full path reference, save the file and try again.
# Disk DescriptorFile
version=1
CID=e615c3de
parentCID=67e1d188
createType="twoGbMaxExtentSparse"
parentFileNameHint="c:\virtual machines\test-server\Windows Server 2003 Standard Edition.vmdk"
# Extent description
RW 4192256 SPARSE "Windows Server 2003 Standard Edition-000001-s001.vmdk"
RW 4192256 SPARSE "Windows Server 2003 Standard Edition-000001-s002.vmdk"
RW 4192256 SPARSE "Windows Server 2003 Standard Edition-000001-s003.vmdk"
RW 4192256 SPARSE "Windows Server 2003 Standard Edition-000001-s004.vmdk"
RW 8192 SPARSE "Windows Server 2003 Standard Edition-000001-s005.vmdk"
# The Disk Data Base
#DDB
1 comment:
Just to comment on your fix, this only works as long as the VMDK file is not of type "monolithicSparse". These type do not have an external descriptor text file but rather have it embedded. To edit these the descriptor values have to be extracted first. I found this here:
http://www.vmware.com/community/thread.jspa?threadID=43300&tstart=0
Post a Comment