Avatar of operationsIT
 asked on

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

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?
Virtualization* vmware vcentersVMware

Avatar of undefined
Last Comment

8/22/2022 - Mon


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.

Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

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.

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
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck

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.