Friday, March 24, 2017

A case of unkillable hyper-v snapshot

Well.. not really unkillable. Just hard to kill
After one-time backup with Backup Exec, our hyper-v machine became stuck with “backup” checkpoint. Which was undeletable from GUI (no delete button).
Well, first we needed to do – is to delete rogue snapshot. Powershell for the resque!
Get-VMSnapshot <machinename> |  Remove-VMSnapshot
Now we need to merge. Snapshot left .avhd disk behind, and our machine’s system disk is considered differencing. That’s no good.
Hyper-v manager -> Edit disk (actions pane)
Now we need to point master to the avhd and tell him to merge it with parent disk
After that was finished, my vm still thought that her disk was under migration, so i deleted it in VM settings dialog (not from disk! =)) and then added merged VHD as a new drive.
And that’s about it.
Hope it will be helpful to someone!

No comments:

Post a Comment