We help IT Professionals succeed at work.

Consolidation needed with too many snapshots how can I know which I'm on so I can remove from datastore the remaining?

89 Views
Last Modified: 2018-12-27
We have a VM with consolidation needed.  On the datastore it is as high as 45 and it may take days to remove snapshots so I would like to remove them from the datastore.
Is this feasible?
How can I confirm which VM is the one in production?
Comment
Watch Question

Jordan GUERDERIT Manager
CERTIFIED EXPERT

Commented:
Hi,

Do not delete snapshot files before consolidating the disk, this may cause data loss.
It is therefore necessary to waste time consolidating the VMs unfortunately.

J.
VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT

Commented:
Indeed, you have no choice but to consolidate the snapshots. Removing the snapshots directly from the datastore will lead to disaster because each snapshot in the chain is needed for operation.

To answer your question, look at it like this: *all* snapshot files are in production for read operations, the most recent one takes all writes.

Best to start consolidation during off-peak hours and hope it gets through the snapshots before the next working day. Very important: check you have ample free space before starting this.

Author

Commented:
Our situation and it’s our fault is our backup software takes a snapshot, mounts it and backs it up and should clean the snapshot.  It doesn’t always do that so we just started looking into the consolidate due to some performance issues.  I’m looking at the data store the .vmdk goes to 54.  We started a consolidate but it’s taking some time (likely obviously) but wanted to know if there was a quicker way.  Yes outside of the tools provided which is probably not advised.  Just curious
CERTIFIED EXPERT

Commented:
The only other way is to clone the VM. The resulting clone will be consolidated.

Of course this is best done with the VM powered off. Otherwise you'll still need to move any data that changed during cloning.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.