Posts

Showing posts from July, 2013

Replica Stops When Expanding or Compacting a VHD or VHDX file, Windows Server 2012 Hyper-V Replica

Source Aug. 6, 2012John Savill | Windows IT Pro


Hyper-V Replica works by replicating write operations that are stored in transaction log files every five minutes to the replica server. 

An expand or compact action on a virtual hard disk (VHD) isn't a write operation and therefore doesn't replicate and will break the replication of the VHD. 

The only solution is to stop replication, then restart replication. 

In most organizations, compacting and expanding WHDs isn't a common operation, especially if dynamic VHDs are used; however, it's important to understand that if using Hyper-V Replica for a VM, any compact or expand operations will break the replication.

Below are some steps to "ease the pain":


If Recovery History is off, which means when setting up Hyper-V Replica you did not enable the option to keep additional point in time replica snapshots, do the following:

1.On the same VHD on recovery, do same operation to get the identical geometry.

2.Now do Resynchroniz…