How to check your DFS backlog

Problem: Sometimes when there is a heavy network load or the fileservers are particularly busy I have noticed that DFS replication items begin to queue and the delay between synchronisation increases.  I wanted to see what was in the DFS replication backlog and see it clear to make sure replication was working.

Solution:

From the server you want to check the backlog for (lets call this the primary DFS replication partner), run the below command in an elevated command prompt:

dfsrdiag backlog /rgname:<YourDomain.local\YourDFSnamespace\YourDFSfolder> /rfname:<YourDFSsharedfolder> /smem:<YourPrimaryDFSserver> /rmem:<YourDFSreplicationpartner>

 

You should now be presented with a list of all the items in the DFS backlog.  Obviously if you want to check the backlog for another server in the DFS replication partnership just switch around the smem and rmem variables.   This is very handy for troubleshooting DFS replication issues.

Leave a Reply

Your email address will not be published. Required fields are marked *