Vmware Parent CID Mismatch

erudit
erudit used Ask the Experts™
on
Good Evening All,

I have a ESX 5 with sbs 2011 in a VM, they filled there datastore and the sbs instance crashed, after releasing some space on the datastore the server would no longer boot, i attempted to create a second instance with the drives attached but wrongly booted there master VM and now it comes up with parent has been modified since the child was created.

The end client only has a backup of the master vmdk file back in october if this master file is restored will the PID match?

Any help appreciated.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
I think the scenario, would have been your virtual machine was running on a child/snapshot virtual disk, which filled on the datastore, and the VM stopped working. (which is normal, if you do not perform any Watering and Feeding of VMs, and daily checks for snapshots!)

You then added this parent virtual disk, incorrectly to a VM, and powered on!

without the child snapshot disk being included with the parent, your VM would have been started, and you would have lost or reverted data, or the OS would have been corrupted.

What function does the VM have ?

Do you have the snapshots ?

these were not deleted ?

please see my EE Article

HOW TO: VMware Snapshots :- Be Patient

It's quite straightforward to fix, and match CID, see this article

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

Author

Commented:
The client used vaeem several months ago, hence the october backup

the snapshot that was working is sbs2011-2-000002
the master file is sbs2011

there are no snapshots in snapshot manager.

Restoring the original master to the datastore that the snapshot was using wont fix the issue?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
okay, I can work with you to solve the issue.

can you screenshot the VM folder, and upload for me to have a look at.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
Data folder As Per Below
DatastoreFolder.png
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
OKay, you have an SBS 2011 server, with three virtual disks

disk1 approx 300GB

there are two snapshots associated with this virtual disk.


disk2 approx 600GB

there are two snapshots associated with this virtual disk.


disk3 approx 200GB

there are two snapshots associated with this virtual disk.

disk4 approx 6GB

there are two snapshots associated with this virtual disk.

the first snapshot is quite small, the second snapshot, the second snapshot is the larger, approx 60/90GB, so it's been running on this snapshot longer.

I assume, you added all the disks, e.g. VMDKs to the new VM, and powered on, so therefore you will need to ensure, that the CIDS chain matches throughout the chain

so -00002 > -0001 > parent CID all match.

To fix the issue, you need to adjust the CIDS and then we can deal with the snapshot issues.

Author

Commented:
So do i access this via SSH then use VI to edit a file? which files would i edit?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Do you have any experience of SSH or VI ?

because there is a simpler method....for the newbie...

Author

Commented:
Using VI i have created this file with the ID's

Can you tell me what theese should be changed to ?
ID.xlsx

Author

Commented:
I have a basic knowledge of VI if there is a simpler method that would be great.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
I would recommend the use of WinSCP, from Windows, you can then edit, like with notepad, you just need to enable SSH, and can browse and alter the files you need to alter.

which will be the vmdk file descriptors

the CIDS must match all the way through the chain, e.g. snapshot2 matches it's parent, which is snapshot1, and snapshot1 must match the parent.

Author

Commented:
Please see attached List of ID's, is this how it should be?

and once theese are changed which vmdk files do i attach to the VM the Files ending 000002?

Regards
Matt
ID2.xlsx

Author

Commented:
Changed Parent ID's on the Snapshots and now boots up correctly.


Absolutley Briliant, Thankyou very much

Whats the best way to optimize the virtual machines? as they are using a lot of space?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
You will need to reduce the sizes of the virtual disks (vmdks), and this can only be done using VMware Converter, and create a V2V.

My EE Article shows you how with step by step instructions, with screenshots

Part 13: HOW TO: Shrink or Reduce a VMware Virtual Machine Disk (VMDK) using VMware vCenter Converter Standalone v5.5.2

Don't forget to handle the snapshots as well.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Okay, if you still have VMs, running on a snapshot....you can confirm by reviewing my EE Article

1. Take a new Snapshot of the VM
2. Wait 60 seconds
3. select DELETE ALL in Snapshot Manager
4. WAIT and BE VERY PATIENT

for the process to complete.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial