Problem with DFS replication

Михаил Андросов 396 Reputation points
2024-08-08T09:16:08.4833333+00:00

I met with a problem. There are ten Windows Server 2012 R2 servers. All servers have a shared folder that is included in DFS replication. The developers complained that they had updated the files in the folder on the first server. Some of the files were replicated to other servers. But not all of them. When I look at the event log, all I see is this kind of warning.

Source: DFRS

ID: 4304

The DFS Replication service has been repeatedly prevented from replicating a file due to consistent sharing violations encountered on the file. The service failed to stage a file for replication due to a sharing violation.

 

Additional Information:

File Path: C:\appBars\web\ria\AddInLib\DocumentFormat.OpenXml.dll

Replicated Folder Root: C:\appBars\web\ria

File ID: {B7BFBA7B-3D76-497D-9953-00C0DD57E05E}-v149605

Replicated Folder Name: ria

Replicated Folder ID: 0EFE8780-DE4E-48DC-A81A-7DC1C161287F

Replication Group Name: eiasgr

Replication Group ID: ABCA741B-73CA-426D-9514-6C5E20F68E16

Member ID: BE9DA64B-BCCB-46BB-A0A3-90F9D5DC912A

When I started Process Explorer, I saw that the file was open:

User's image

Then the developer stopped the processes that were occupying the files. I checked through Process Explorer that the files no longer appear in the open list. However, replication still failed.

By running the report in the DFS Management console, I see that the problem still remains:

EIAS-GR-WEB01 (Show All)

DNS name:  eias-gr-web01.msa.ru

Domain name:  msa.ru

Reference domain controller:  DC-DMZ04.msa.ru

IP address:  ::1,192.168.50.181

Site:  GR-Site

Time zone:  (GMT3:00)

ERRORS (There are no errors to report)

WARNINGS (There is 1 warning to report)

 

   

  One or more replicated folders have sharing violations.

  Affected replicated folders:  ria

  Description:  Due to ongoing sharing violations, DFS Replication cannot replicate files in the replicated folders listed above. This problem is affecting 1 files in 1 replicated folders. Event ID: 4302

  Last occurred:  7 августа 2024 г. at 17:49:11 (GMT3:00)

  Suggested action:  Verify that the files you want to replicate are closed and have no open handles to them. For information about troubleshooting sharing violations, see The Microsoft Web Site.

 

ria Replicated folder

 

File path:  C:\appBars\web\ria

 

Files that cannot be replicated under the replicated folder (1):

Relative path and file name

\AddInLib\DocumentFormat.OpenXml.dll

On neighboring servers, processes were also stopped, and files were not opened.

I have not found a solution to the problem. And there are no errors other than a warning in the event log.

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,631 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.