DFSRイベント2213は、Windowsサーバー上でデータベースが正常にシャットダウンされなかったことを示す

Summary: DFSRエラー2213は、分散ファイル システム レプリケーション(DFSR)を使用してレプリケートされたフォルダーをホストするWindowsサーバーに記録される場合があります。これには、Active Directoryドメイン コントローラーにあるSYSVOLフォルダーが含まれます。この文書では、根本的な問題とその解決方法について説明します。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

影響を受けるサーバーのDFSレプリケーション イベント ログにDFSRエラー2213が表示されます。
The DFS Replication service stopped replication on volume X:. 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="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" call ResumeReplication

エラー メッセージのドライブ文字とGUIDは、システムによって異なります。

影響を受けるサーバーは、パートナーとのDFSレプリケーションに参加できなくなりました。ドメイン コントローラーの場合は、SYSVOLデータはレプリケートされなくなりますが、Active Directoryデータはレプリケートされる可能性があります。

Cause

この問題の最も一般的な原因は、オペレーティング システムの予期しないシャットダウンです。これは、電源喪失、オペレーティング システムのクラッシュ、ハードウェア障害など、さまざまな理由で発生する可能性があります。この問題は、DFSRサービスが予期せず停止した場合にも発生する可能性があります。

DFSRは、ESE(Extensible Storage Engine)データベースを使用して、レプリケートされるデータのメタデータを格納します。このデータベースにまだコミットされていないメタデータに変更があったときにDFSRサービスが停止すると、データベースは「ダーティー シャットダウン」状態になります。これは、データベース内のメタデータがレプリケートされたデータの状態を正確に反映していない可能性があることを示しています。次回DFSRサービスが開始されると、このダーティー シャットダウンが検出され、イベント2213が記録されます。

Resolution

前述のように、イベント2213の説明には、リカバリ プロセスを開始するために実行できるコマンドが含まれています。
wmic /namespace:\\root\microsoftdfs path dfsrVolumeConfig where volumeGuid="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" call ResumeReplication

このコマンドは、イベントの説明からそのままコピーし、管理者特権のコマンド プロンプトに貼り付けることができます。(イベントの説明には、上記のXではなく、正しいボリュームGUIDが含まれています)。

データベースのリカバリーが成功した場合、コマンドの出力には次のものが含まれます。
{
	ReturnValue=0;
};

その他の戻り値は何らかのエラーを示しますが、これはまれです。リカバリーが正常に完了したことを確認するには、影響を受けるサーバーのDFSRイベント ログでイベント2214を確認します。
The DFS Replication service successfully recovered from an unexpected shutdown on volume X:. This can occur if the service terminated abnormally (due to a power loss, for example) or an error occurred on the volume. No user action is required.

Affected Products

Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022, Microsoft Windows 2008 Server R2, Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2
Article Properties
Article Number: 000208669
Article Type: Solution
Last Modified: 10 Dec 2024
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.