Server 2019 Hyper-V Replica make HRL files for excluded disks

Gektor 1 Reputation point
2020-12-28T15:39:56.65+00:00

Have make Hyper-V VM guest and setup replication, there is 5 disks, 3 of them excluded from replica, but as i see on files system there is created HRL files for all disks of VM, even for excluded. After a replication period (5 sec) send difference for 2 disks of replication on replication server, excluded disks HRLs just deleting by system.

System is on SSD drive, on excluded disks placed temp files, it's double write operation on SSD.

On WS2012R2 there is no such problem.

Is there any fix for this?

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

6 answers

Sort by: Most helpful
  1. Mico Mi 1,921 Reputation points
    2020-12-29T08:15:43.1+00:00

    Hi,
    I did a test in my lab and found that only the chosen disks would create the HRL files (only the "test" vhd had HRL).
    51933-image.png
    Please check if the extra HRL files belong to the excluded disks and provide the screenshot.
    Also please check if the server is updated to the latest, if not, please update it and check if there's any third-party software running on the server, if yes, please uninstall them and start the VM again.

    Thanks for your time!
    Best Regards,
    Mico Mi

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Gektor 1 Reputation point
    2020-12-29T09:15:51.693+00:00

    Only VHost-005c is replicated, VHost-005sc is NOT replicated, but if i copy some big size file on VHost-005sc disk, there will be growing HRL file, and it will be deleted after sync time:
    51993-%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5.png

    51994-%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5.png

    All latest updates installed.
    I have try to install a fresh new system - there is same problem (have place in different directories VHDX files):
    VHost-001c - replicaed
    VHost-001d - excluded
    VHost-001e - excluded
    All files with growing HRL files.

    0 comments No comments

  3. Gektor 1 Reputation point
    2020-12-29T09:18:37.813+00:00

    Maybe magic with Vhost**-**001c in name of VHDX? Can you try same instance with names:
    VHost-001c - replicaed
    VHost-001d - excluded
    VHost-001e - excluded

    0 comments No comments

  4. Gektor 1 Reputation point
    2020-12-29T09:26:26.663+00:00

    And can you try copy some big size file on NOT replicated disks and see, does HRL file size is growing?


  5. Mico Mi 1,921 Reputation points
    2020-12-30T09:01:23.69+00:00

    Hi,
    Once the initial replication of a VM is completed, Hyper-V replica will start monitoring the change of each selected virtual hard disk. This is done by mirroring the changes to a HRL file.
    You can try to use Resource Monitor and Process Monitor to find the problem area. Using Resource Monitor, you will be able to see which process is making writes to which file which can help you isolate any activity that is not normal. Since Hyper-V Replica tracks all writes, a large temporary file can cause a really large HRL file.
    Here is the doc that may be helpful for you:
    https://learn.microsoft.com/en-us/virtualization/community/team-blog/2014/20140202-hyper-v-replica-debugging-why-are-very-large-log-files-generated
    Since the research that forum can do is limited, if you want to know the root cause, it is suggested to go to open a case in the following link so that a dedicated Support Professional can assist you in a more efficient manner.
    https://support.microsoft.com/en-us/gp/customer-service-phone-numbers

    Thanks for your time!
    Best Regards,
    Mico Mi

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments