Hyper-V disk merge fails

fhqwh gads 26 Reputation points
2024-08-20T22:14:58.6933333+00:00

Getting error 'SERVER' background disk merge failed to complete: An internal error occurred. (0x8007054F). (Virtual machine ID 5C49EEE5-37BD-4E76-B56D-A98B1E90BC5B). Noticed when I was getting a lot of .avxd files.

Tried to merge via instructions here: https://learn.microsoft.com/en-us/archive/technet-wiki/6257.manually-merge-avhd-to-vhd-in-hyper-v Working fine until I tried to merge the final snapshot to .vxd and got "Internal error occurred (0x8007054F)" again.

Now VM won't start at all: Virtual machine failed to generate VHD tree: 'The system cannot find the file specified.'('0x80070002'). It's looking for the oldest snapshot that was merged into its parent (and then into its parent, and so on, up until the one where it failed to merge with the main .vxd file)

I have a 2nd VM that was giving me the "background disk merge failed" error, but I have NOT tried manually merging those .avxd files yet.

Any help?

Thanks!

Windows for business Windows Client for IT Pros Storage high availability Virtualization and Hyper-V
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-08-21T02:18:15.58+00:00

    Hi,

    The error message "An internal error occurred" doesn't give much of a clue.

    Run services.msc to open Services and restart the Virtual Machine Management Service (VMMS) manually to see if the problem persists. Open Event Viewer and check for related errors in the VMMS log under Applications and Services Logs \ Microsoft \ Windows \ Hyper-V-VMMS.

    Backup all the .vhd/.vhdx/.avhd/.avhdx virtual disk files first and create a new VM to see if the same issue happens when merging disk files of that.

    Also try System File Checker to repair corrupted system files on your computer. Open CMD as administrator and run

    DISM.exe /Online /Cleanup-image /Restorehealth
    SFC /scannow
    

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.