File server DFS-R replication issue file removed

matteu31 467 Reputation points
2024-02-26T18:33:44.38+00:00

Hello, I would like to have the opinion of someone who knows DFS-R with file servers :). My customer has 2 servers with DFS-R in between (SRV1 and SRV2 for example).

The replication stopped working because they have passed because more than 60 days have passed without them replicating. The problem was seen today, and it's been over a year since they responded. Users always connected to SRV1 (preference set up on namespace servers). I therefore try to exit the SRV2 replication group and then put it back in but the event log indicates the same error, replication has not taken place for more than 60 days so it is not possible. I then decide to delete all SRV2 data contained in each replicated folder (including dfsrconfig) and keep only the root folder used for replication. I reintegrate the server into the replication group and the data is well replicated. I let it run. Result: Everything replicated well, but around 200GB out of 500 were deleted on SRV1. When I go to a folder, from SRV1 there were 50 files before, there are only 20 now for example.... I would like to know what could have happened to cause data to be deleted from SRV1 even though I did nothing about it and when I added SRV2 as a member, it was indeed SRV1 who was the master of replication. I can't find any technical explanation that could explain this so I would like to have the opinion of experts on the subject

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,569 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,425 questions
Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,564 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,525 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Marcin Policht 16,965 Reputation points MVP
    2024-02-26T21:22:59.78+00:00

    It seems that the deletion of data on SVR2 replicated to SRV1 You would need to restore it from backups


    hth Marcin

    0 comments No comments

  2. matteu31 467 Reputation points
    2024-02-26T22:16:41.2766667+00:00

    I need to understand a little more what I would need to do ? Here I remove data from server but only after I removed it from the replication group. Then I add it back. I would understand if an entire replication group would be empty in SRV1 but it's not

    0 comments No comments

  3. Marcin Policht 16,965 Reputation points MVP
    2024-02-27T13:03:39.5633333+00:00

    Use the following procedure (as per https://serverfault.com/questions/1097498/how-to-properly-remove-dfs-replication-without-data-loss) to remove SVR2 from the replication group:

    1. Disable member from the Replication Group using the DFS Management Console. Right-click on each member server and select Disable.
    2. Wait until the change replicates across AD, indicated by Event 4114 in the DFSR Event Log on the target server.
    3. Delete membership from the replication group using the DFS Management Console. Right-click on each member server and select Remove.
    4. Wait to verify that the removal operation replicated across the domain, indicated by Event 4010 in the DFSR Event Log.

    Once that's completed, restore data from backups to SVR1.

    Before you re-add SVR2 to the replication group, uninstall DFS-R on that server, delete the directory structure corresponding to the replicated content, reinstall DFS-R, and add the server back to the group


    hth

    Marcin

    0 comments No comments