May 11
DFS Replication Event 4208

SCENRIO
End-Users have been experiencing frequent data replication inconsistencies when saving and editing files and there are a number of Event 4208 for the DFS Replication logs on both servers for many DFS Replication groups.

Example Log
Log Name: DFS Replication
Source: DFSR
Date: 5/11/2011 2:36:49 PM
Event ID: 4208
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer:
Description:
The DFS Replication service detected that the staging space usage is above the staging quota for the replicated folder at local path E:\xxxx\xxxxx. The service might fail to replicate some large files and the replicated folder might get out of sync. The service will attempt to clean up staging space automatically.

Additional Information:
Staging Folder: E:\xxxxxx\DfsrPrivate\Staging\ContentSet{1111111111111111-11111111111}-{1111111111111}
Configured Size: 4096 MB
Space in Use: 4807 MB

The default Staging Quota is set to 4Gb which is sometimes not large enough for files that may be replicated for that DFS Replication group.

SOLUTION
In order to resolve this error you will need to increase the Staging Quota to two times the size of the largest or potentially largest file as suggested by Microsoft.

Using PowerShell command PS C:\Users\admin> Get-ChildItem "\\xxxx\xxxx\xxxxx" -recurse | Sort-Object length -descending | select-object -first 9 | ft name,length -wrap -auto to determine this.

    Your output will look similar to this – Note* this will sometimes take a long time to provide results

Name Length
---- ------
Hard Disk.vhd            14528456192
b-11e0-9304-806e6f6e6963.vhd 7570948608
archive.pst            6435922944
archive23.pst            6394020864
archive455.pst            3960652800
archive1.pst            3052012544
Personal Folders07.pst        2999190528
Personal Folders(1).pst        2546394112
Personal Folders(1).pst        2511602688

  1. Open the DFS management console
  2. Replication node
    1. Click the replication group
  3. On the Memberships tab > Right Click and choose Properties
  4. Click the Staging tab and adjust the quota and path as necessary (Make certain you do this for each member server)
    1. On the Advanced tab, adjust the Conflict and Deleted folder quota as necessary

RESOURCES
http://technet.microsoft.com/en-us/library/cc782648(WS.10).aspx
http://technet.microsoft.com/en-us/library/cc754229.aspx

FURTHER READING AND TIPS
http://blogs.technet.com/b/askds/archive/2010/03/31/tuning-replication-performance-in-dfsr-especially-on-win2008-r2.aspx

Comments

There are no comments for this post.

 ‭(Hidden)‬ Blog Tools