none
DFS Replication

    Soru

  • Dear All,

    We have setup DFS replication between 2 server, replication group for data collection as we want to replicate our file server data to DR site. Now when intiail sync is done we are facing below challange:

    1. The no. of folder on source server (branch) is more then target (hub)

    2. The no. of files on source server is more than target

    Note: We are checking above by going to the respective folder and clicking on the properties of same which whows the no. of files and folder, ofcource exclusding dfsprivate.

    Can someone help us to understand why this difference is there? If we generate the DFS diagnostic report, then the no. of file/folder in replicted folder are matching.

    Please help!!!!!!

    13 Mart 2012 Salı 08:12

Tüm Yanıtlar

  • HI,

    Can someone help here please?

    regs,

    15 Mart 2012 Perşembe 10:18
  • Have you tried running some dif checking software to see if that highlights the changes.. Theres plenty of freeware out there that will do the job. I've just installed diffdaff on my windows 7 x64 machine and pointed it at 2 mapped DFS shares. Once you know what the difs are that might lead you onto the next step.
    15 Mart 2012 Perşembe 15:24
  • Hi Matt,

    Thanks for the reply. We didnt checked the difference but we tried with double take availability software for replication and there count is matching. Not sure may be DFS is yet to mature as replication s/w..

    17 Mart 2012 Cumartesi 09:26
  • DFS is pretty good technology and works very well provided its configured correctly. There could be multiple different reasons why  DFS replication is failing between 2 servers. 

    With limited information its hard to predict the things.

    I would suggest you to go through similar threads and see if they help in your case. 

    http://social.technet.microsoft.com/forums/en-us/winserverfiles/thread/7AC50730-918F-4592-BA19-CA858DF6E513 

    http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2branchoffice/thread/b4549a27-3fb1-44a9-ac53-30c274fb499e 

    http://social.technet.microsoft.com/Forums/en-GB/windowsserver2008r2general/thread/d4ccc7fe-2bca-4ed7-9c45-d362765b3e05 

    http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/f7357f3a-e7d5-44a9-967e-cb05b9f25ba6/


    This posting is provided "AS IS" with no warranties or guarantees and confers no rights.

    Most of the downtime's are caused because of SysAdmin's curiosity ! - Santosh

    17 Mart 2012 Cumartesi 10:11
  • Hi,

    Though the number of files and folders are not same, please still test to create a new file (like a txt file) and see if it could be still replicated. If so then the replication is still working, so we may need to find out the root cause.

    First, Please see this article about "temp file will not be replicated", which may be a possible cause:

    http://social.technet.microsoft.com/Forums/en/winserverfiles/thread/9164f02c-b81b-477a-b9b3-e71dcd10248e

    Meanwhile, for initial replication, actually it is recommanded to use a tool like robocopy instead of waiting for DFSR.

    Also large files may not be replicated if staging folder is not large enough. You could also have a check.

    In addition, the following article provided some general issues related to DFSR:

    http://blogs.technet.com/b/askds/archive/2007/10/05/top-10-common-causes-of-slow-replication-with-dfsr.aspx


    TechNet Subscriber Support in forum |If you have any feedback on our support, please contact tnmff@microsoft.com.

    19 Mart 2012 Pazartesi 07:03
    Moderatör
  • Hi Santosh/Shaon,

    Thanks for replying. We are ready to accept that some temp file will not be replicated, so difference in no. of files not that critical but why there is difference in no. of folders? Also when we replicate the same with Double Take Avaialbility replication software, the folder and file difference was not there. This is what is making us loose confidence in DFSR. I was just thinking of something from someone which can tell reasons why the difference in no. of folders from source to target and why that differnce vanish when we used double take. Also the DFSR diagnostic report doesnt show any backup and report the no. of files and folders on source and target as same, which is in case of folder is higher as per actual, e.g. report says 16044 folder whereas if we go and see the property of folder it shows 16005 folder.

    Hope someone have the answer. Also can someone let me know how to find the latest version of DFSR.exe which i should have on my servers..

    Thanks.. 

    19 Mart 2012 Pazartesi 07:46
  • ROBOCOPY can compare the files and folders for you and produce a list of differences...

    Lastest version of DFS is here:

    http://support.microsoft.com/kb/968429

    • Düzenleyen rt3465345 26 Mart 2012 Pazartesi 00:31
    • Yanıt Olarak Öneren rt3465345 27 Mart 2012 Salı 20:13
    26 Mart 2012 Pazartesi 00:29
  • My experience with circa 30TB of data replicated through DFS shows some ideas to you

    Problem roots -- not the same number of files:

    1. Staging Quota to small (this can generate many conflicts, file count differences, permissions broken on other side, etc) put a large (really large) Staging Quota when performing the Initial Sync (the same size from the data is perfect, 50% at least, depending the size of the files --> many small files, you can put a smaller Staging Quota, few big files, put a big Staging Quota).

    2. Temp Files: per default DFS excludes some tmp file extensions. If these extensions are important for you you can remove them in the DFS Repl group properties.

    3. Deep paths: I had problems with very deep paths that were not replicated properly.

    Problem roots -- not the same number of folders:

    1. Staging Quota (see above)

    2. Permissions - sometimes the folders are there, but for some reason, even permissions being right, just by script I could get the exact number of folders.

    ----

    Next Steps: I am attaching one of mine scripts, this script gets the folder name, number of folders and number of files on each folder in the volume or path informed. Run it on both folders and see what comes out. Run it on a Administrative Powershell

    # Get-Numbers.ps1
    param([Parameter(Position=1,Mandatory=$true,
                ValueFromPipelineByPropertyName=$true)]
       $path)
       
    function Get-Numbers
    {
    	param($path)
    	
    	#$path
    	
    	# Get Files
    	$files = ls -Path $path -Recurse | ?{ $_.Mode[0] -ne "d" }
    	#$files.count
    
    	# Get Folders
    	$folders = ls -Path $path -Recurse | ?{ $_.Mode[0] -eq "d" }
    	#$folders.count
    	
    	$obj = New-Object System.Object
    	$obj | Add-Member -type NoteProperty -Name Path -Value $path
    	$obj | Add-Member -type NoteProperty -Name Files -Value $files.count
    	$obj | Add-Member -type NoteProperty -Name Folders -Value $folders.count
    	
    	return $obj
    }
    
    # Get top level sub directories
    
    $folders = dir -Path $path | ?{$_.psIsContainer -eq $true} | ForEach-Object { $_.FullName }
    
    $numbers = @()
    foreach ($path in $folders)
    {
    	$numbers += Get-Numbers -path $path
    }
    
    $numbers > .\list.txt

     


    Thank you,

    F. Schubert
    System Administrator

    MCP | Microsoft Certified Professional
    MCTS 70-640 | Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    MCTS 70-642 | Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration

    24 Nisan 2012 Salı 18:28