none
Background merge fails, replication state critical RRS feed

  • Question

  • I have a Windows 2012 R2 Hyper-V environment, which replicates to another server.

    Edit: Both the primary and replica server have all windows updates installed.

    The replication works 100% UNTIL I make a backup with the Windows backup (full backup) to an attached USB disk (This backup completes successfully). As soon as the backup finished the following events are logged:

    Information (ID 19070): 'Server01' background disk merge has been started. (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40)
    Error (ID 19100): 'Server01' background disk merge failed to complete: Account restrictions are preventing this user from signing in. For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced. (0x8007052F). (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40)
    Error (ID 33676): Replication operation for virtual machine 'Server01' failed: The process cannot access the file because it is being used by another process. (0x80070020). (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40) (Primary server: 'VmHost', Replica server: 'SERVER03')
    Error (ID 32016): Hyper-V failed to generate delta for virtual machine 'Server01': The process cannot access the file because it is being used by another process. (0x80070020). (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40)
    Error (ID 33680): Replication operation for virtual machine 'Server01' failed. (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40) (Primary server: 'VmHost', Replica server: 'SERVER03')
    Error (ID 32086): Hyper-V suspended replication for virtual machine 'Server01' due to a non-recoverable failure. Resume replication after correcting the failure. (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40)
    Information (ID 19070): 'Server01' background disk merge has been started. (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40)
    Error (ID 32510): Failed to delete the log file 'C:\VHD\Server01\Server01_E6713989-DDDD-400A-8B0C-6B0F0BF1F84C.hrl' for virtual machine 'Server01'. (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40) (VHD C:\VHD\Server01\New Virtual Hard Disk_77946681-5D4D-410C-82A9-7285C5F692AE.avhdx) - Error: The process cannot access the file because it is being used by another process. (0x80070020)
    Error (ID 19100): 'Server01' background disk merge failed to complete: The process cannot access the file because it is being used by another process. (0x80070020). (Virtual machine ID 0C9506DC-333A-4D04-8274-428B693C3E40)

    After this, replication AND backup fails until I shutdown all virtual machines - at this point (turned off) the merge succeeds and after I start the machines again everything works fine until the next backup.

    Please help.


    • Edited by atverweij Wednesday, March 30, 2016 7:23 AM extra info
    Wednesday, March 30, 2016 7:17 AM

Answers

  • I found the solution.

    I removed the GPO: User rights assignment/Log on as a Service, followed by a GPUpdate / Force on the Hyper-V machine. The stopped all VM's, rebooted the server - and the problem did not surface again.

    • Marked as answer by atverweij Thursday, April 7, 2016 10:20 AM
    Thursday, April 7, 2016 10:20 AM

All replies

  • Hi Sir,

    Hope the following article is helpful to you :

    https://blogs.technet.microsoft.com/virtualization/2014/04/24/backup-of-a-replica-vm/

    Which backup software are you using ?

    DPM backup replica VM :

    https://blogs.technet.microsoft.com/dpm/2014/04/24/backing-up-of-replica-vms-using-dpm/

    Best Regards,

    Elton


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com .

    Thursday, March 31, 2016 3:21 AM
    Moderator
  • As I stated before: I am using Windows Backup (the one that Microsoft includes in Windows Server).

    The article that you gave has no answer to the problem that the backup cause replication and all next backups to fail.

    Thursday, March 31, 2016 7:38 AM
  • Hi,

    The VM which was backed up is a primary VM ?

    PAUL

    Friday, April 1, 2016 7:23 AM
  • Yes, it is.
    Friday, April 1, 2016 7:25 AM
  • I found the solution.

    I removed the GPO: User rights assignment/Log on as a Service, followed by a GPUpdate / Force on the Hyper-V machine. The stopped all VM's, rebooted the server - and the problem did not surface again.

    • Marked as answer by atverweij Thursday, April 7, 2016 10:20 AM
    Thursday, April 7, 2016 10:20 AM
  • I found the solution.

    I removed the GPO: User rights assignment/Log on as a Service, followed by a GPUpdate / Force on the Hyper-V machine. The stopped all VM's, rebooted the server - and the problem did not surface again.


    I'm not sure what you mean. You had defined what accounts could log on as service using the GPO indicated and when you removed that (meaning, you no longer were defining these), that's when it started to work?
    Saturday, August 13, 2016 4:52 AM
  • Yes, That is exactly the case.
    Saturday, August 13, 2016 8:29 AM
  • I'we got the same problem with Server 2016 HYPER-V. I tried Altaro Backup, Veeam Backup both ends after two successful backups and stuck with the same errors as you mentioned. I was fighting it about month restarting hypervisor every two days (!!!) and your solution finally pulls me out from this. Thank you buddy, buy yourself some chocolate :)
    • Edited by DaverCZ Tuesday, August 22, 2017 10:16 PM
    Tuesday, August 22, 2017 10:14 PM
  • i had same problem com hyper-v 2016 and veeam backup.

    when remove GPO: User rights assignment/Log on as a Service. every stayed ok
    Thursday, May 31, 2018 6:00 PM
  • Any idea why this happened, or what caused it?   I am following your lead with the same issue.  I also have Server 2016 and Veeam.
    Monday, June 11, 2018 3:35 PM