DFSRDIAG (Distributed File System Replication Diag)
May 9, 2008 — DrewI’ve recently been tweaking my data replication schemes. We’ve got multiple servers spread out all over and seems like we replicate date all over the place. My most recent brilliant idea was to replicate our offline virtual machine images and software installation ISO files to all of our Hyper-V servers. In working through some staging quota issues because the files that I wanted to replicate was greater than the default 4GB default staging quota, I found a cool tool that will show a list of the backlogged files waiting to replicate. The tool is called dfsrdiag and is run from a command prompt. In Windows Server 2008 with UAC the command prompt window will need to have its credentials elevated to Administrator.
Sample command:
dfsrdiag Backlog /ReceivingMember:vs1 /SendingMember:vs3 /RGName:”Software Library” /RFName:”Software Library”
Sample Output:
Member <vs1> Backlog File Count: 9
Backlog File Names (first 9 files)
1. File name: win2008×64Ent-disk1.rar.part01.exe
2. File name: win2008×64Ent-disk1.rar.part03.rar
3. File name: win2008×64Std.rar.part01.exe
4. File name: win2008×64Std.rar.part02.rar
5. File name: win2008×64Std.rar.part03.rar
6. File name: win2008×86std.rar.part01.exe
7. File name: win2008×86std.rar.part02.rar
8. File name: SW_DVD5_Windows_Svr_DC_Ent_Std_2008_English_32bit_MLF_X14-26710.ISO
9. File name: SW_DVD5_Windows_Svr_DC_Ent_Std_2008_English_x64_MLF_X14-26714.ISO
Operation Succeeded
Command “Backlog” Help:
Usage: DFSRDIAG Backlog [/ReceivingMember:name] </SendingMember:name>
</RGName:name> </RFName:name>
</RGName>
The display name for the replication group
Example: /RGName:Applications
</RFName>
The display name for the replicated folder
Example: /RFName:”Applications Distribution”
</SendingMember> or </SMem>
The DNS or NetBIOS name of the member that is sending the replication
data
Example: /SendingMember:Branch01.sales.contoso.com,
/SendingMember:sales\Branch01, /SendingMember:Branch01
[/ReceivingMember] or [/RMem]
The DNS or NetBIOS name of the member receiving the replication data.
Uses local computer if not specified
Example: /ReceivingMember:Branch01.sales.contoso.com,
/ReceivingMember:sales\Branch01, /ReceivingMember:Branch01
[/Help] or [/?]
Display help message for the command
Example: /?
[/Verbose] or [/V]
Enable verbose logging
Example: /v









