Monday 16 January 2017

Replication service failed to recover from an internal database error on volume [Solved]

Event Log:

The DFS Replication service stopped replication on volume E:. This failure can occur because the disk is full, the disk is failing, or a quota limit has been reached. This can also occur if the DFS Replication service encountered errors while attempting to stage files for a replicated folder on this volume.

Additional Information:
Error: 9014 (Database failure)
Volume: F64C6D0E-49A5-11E4-80B5-806E6F6E6963

The DFS Replication service failed to recover from an internal database error on volume E:. Replication has been stopped for all replicated folders on this volume.

Additional Information:
Error: 9214 (Internal database error (0))
Volume: F64C6D0E-49A5-11E4-80B5-806E6F6E6963
Database: E:\System Volume Information\DFSR




Solution:
Just disable the replication group node and create a. bat file from these text and run as administrator.
After that enable replication group. Hope all your problem would be resolved.



set DFSR_DB_DRIVE=E:
 
REM Removes the broken DFSR configuration database from the system
net stop dfsr
%DFSR_DB_DRIVE%
 
icacls "%DFSR_DB_DRIVE%\System Volume Information" /grant "Domain Admins":F
cd "%DFSR_DB_DRIVE%\System Volume Information"
move DFSR %DFSR_DB_DRIVE%\DFSR_backup
 
cd ..
icacls "%DFSR_DB_DRIVE%\System Volume Information" /remove:g "Domain Admins"
net start dfsr
dfsrdiag PollAD /Member:%userdomain%\%computername%