Vmware Parent CID Mismatch

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.
eruditAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
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
eruditAuthor 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 ConsultantCommented:
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.
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

eruditAuthor Commented:
Data folder As Per Below
DatastoreFolder.png
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
eruditAuthor 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 ConsultantCommented:
Do you have any experience of SSH or VI ?

because there is a simpler method....for the newbie...
eruditAuthor Commented:
Using VI i have created this file with the ID's

Can you tell me what theese should be changed to ?
ID.xlsx
eruditAuthor 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 ConsultantCommented:
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.
eruditAuthor 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
eruditAuthor 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 ConsultantCommented:
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 ConsultantCommented:
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.