Windows

DFS replication stops after unexpected server shutdown

Recently we encountered an Event ID 2213 error under the event log:  Event Viewer –> Applications and Services Logs –> DFS Replication.

Head over the following link: https://support.microsoft.com/en-us/help/2846759/dfsr-event-id-2213-in-windows-server-2008-r2-or-windows-server-2012


Event ID 2213
The DFS Replication service stopped replication on volume C:. This occurs when a DFSR JET database is not shut down cleanly and Auto Recovery is disabled. To resolve this issue, back up the files in the affected replicated folders, and then use the ResumeReplication WMI method to resume replication.
Recovery Steps
1. Back up the files in all replicated folders on the volume. Failure to do so may result in data loss due to unexpected conflict resolution during the recovery of the replicated folders.
2. To resume the replication for this volume, use the WMI method ResumeReplication of the DfsrVolumeConfig class. For example, from an elevated command prompt, type the following command:
wmic /namespace:\\root\microsoftdfs path dfsrVolumeConfig where volumeGuid=”32A74A78-0B49-11E2-93EE-806E6F6E6963″ call ResumeReplication

After you run it, wait for Event ID 2212 & 2214 in the log.

Note:

  • Default StopReplicationOnAutoRecovery value on Windows Server 2008 R2 and Server 2012 is “1“. On Windows Server 2012 R2 it’s “0“.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s