orphaned-vm-snapshot-after-a-failed-backup

VMware updated their knowledge base article covering orphaned VM snapshots after an automatic or manual backup using a backup software failed to remove the snapshot.

The result is a virtual machine running on a snapshot that the VMware snapshot manager is not showing at all.

Sometimes a backup application might perform a routine backup operation, by taking the snapshots of the VM. When the backup is completed the backup software automatically deletes the snapshot file. In some cases, when the backup operation fails, a stale snapshot might be created.

This stale snapshot will not show up when we view it from the Snapshot Manger, and is only displayed when the datastore on which the VM resides is browsed.  

You can access the complete KB article about orphaned VM snapshot here

IMHO it’s not fair to blame the backup vendors for that as their software is only executing VMware API commands, so they might trigger the issue but they are not the root cause.

As this situation happens quite often and the workaround mentioned to create another snapshot manually to make a delete all afterwards only sometimes works.

  • Right click the Virtual Machine and select Snapshot.
  • Choose Take Snapshot.
  • Enter the Name and take a regular Snapshot
  • Once the snapshot is taken, right click the Virtual machine and select Snapshot > Snapshot Manager
  • Select the snapshot and select Delete All (Consolidate)

orphaned VM snapshot

Photo courtesy of Paul L Dineen(CC Attribution)

This workaround has two major disadvantages:

  1. you need to find the VM with an orphaned snapshot before you can use the workaround
  2. the workaround only works half the time

If you prefer an easier way to manage your snapshots, detect orphaned VM snapshots and fix them, our Snapwatcher is the perfect solution for you: Get Snapwatcher

CNIL
Metrics and Logs

(formerly, Opvizor Performance Analyzer)

VMware vSphere & Cloud
PERFORMANCE MONITORING, LOG ANALYSIS, LICENSE COMPLIANCE!

Monitor and Analyze Performance and Log files:
Performance monitoring for your systems and applications with log analysis (tamperproof using immudb) and license compliance (RedHat, Oracle, SAP and more) in one virtual appliance!

Subscribe to Our Newsletter

Get the latest product updates, company news, and special offers delivered right to your inbox.
Share on twitter
Share on linkedin
Share on facebook
Share on email

Subscribe to our newsletter

White Paper — Registration

We will send you the research paper via email.

CodeNotary — Webinar

White Paper — Registration

Please let us know who you are, so we can send you the CodeNotary Trusted Software Supply Chain white paper.

Become a partner

Start Your Trial

Please enter contact information to receive an email with the virtual appliance download instructions.

Start Free Trial

Please enter contact information to receive an email with the free trial details.