HyperVisor doesnt merge checkpoint but doesnt show in manager

Tate Goodman 20 Reputation points
2023-01-17T21:25:08.13+00:00

I have a server 2019 standard hyperv host with two VM's. For the last couple of months when my backup software - nakivo V10.5.1 - makes a checkpoint for backups the differencing disk from the checkpoint never gets merged. It does not show a checkpoint in the VMM manager but If I look at the Disk I will see the primary disk and the differencing disk.

For example:

TRINITYAPP.vhdx
TRINITYAPP.vhdx.mrt
TrinitApp.vhdx.rct
TRINITYApp_FFF2E652-A55D-4C12-A269-7C923754A49D.avhdx
TRINITYApp_FFF2E652-A55D-4C12-A269-7C923754A49D.avhdx.mrt
TRINITYApp_FFF2E652-A55D-4C12-A269-7C923754A49D.avhdx.rct

So the next time i try to take a checkpoint I get the error:

An Error occurred while attempting to checkpoint the selected virtual machine(s)
Checkpoint operation failed
Checkpoint operation was cancelled
TrinityApp could not initiate a checkpoint operation
Could not create auto virtual hard disk
E:\TrinityApp\TRINITAPP_E932BF12-4006-BA72-D6683D502454.avhdx: The process cannot access the file because it is being used by another Process

Because of this I am unable to use my backup software as it constantly fails because it can't take a snapshot

I have tried shutting down the VM and sometimes it will finish the disk merge but other times it will not.

I have tried shutting down and manually merging all the disks into one and building a new machine.

I have tried shutting down the vm and manually merging all the disks into one and removing the hard drive and readding it.

Every time I do something it may work a few times but ends up coming back to the error of being unable to create the checkpoint so the backup fails.

It appears that Nakivo is sending an API call to create the checkpoint to do its backup. Then it sends an API cal to tell hyperV it is done with the checkpoint and to delete it. And then it gives the error:

'TRINITYAPP' background disk merge failed to complete: The process cannot access the file because it is being used by another process. (0x80070020). (Virtual machine ID 05BFB8D6-1AC7-4F38-8DB4-FC26DE9CE49F)

Nothing I do seems to keep the error from coming back. Any help is appreciated.

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,582 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tate Goodman 20 Reputation points
    2023-01-18T17:19:24.9833333+00:00

    It appears that this is due to a flaky VMMS service. If I restart Vmms I can take a chekcpoint. If I wait a few minutes and restart VMMS again and then delete the checkpoint it will properly delete and merge the checkpoint.

    What is the best resolution for a flaky VMMS service?