Stuck VM Checkpoints

We have a problem where a VM will occasionally get a stuck snapshot/checkpoint during backup.  We use DPM, and there are others who complain about this problem, so hopefully there will be a fix, but for now it’s something that will happen.  Articles (like this one) recommend that you stop and restart the DPMRA services on the Hyper-V host.  This usually works, but last month we had a few get stuck and even after restarting for maintenance they were still there.

Since the GUI doesn’t let you remove these backup checkpoints, I started looking for a way to do it with PowerShell and found this great article from Gil Gross.  He details the exact problem we were having and how to use PowerShell to release them.

The solution is a combination of Get-VMSnapshot and Remove-VMSnapshot.

Get-VMSnapshot -VMName HyperVName -ComputerName VMHOST | Remove-VMSnapshot

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s