Home

Business or Enterprise DFS-R fails

%3CLINGO-SUB%20id%3D%22lingo-sub-279208%22%20slang%3D%22en-US%22%3EBusiness%20or%20Enterprise%20DFS-R%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-279208%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20worked%20with%20MS%20Professional%20Services%20to%20design%20an%20Windows%20Server%202016%20file%20server%20replacement%20for%20our%20NAS.%20One%20of%20our%20concerns%20was%20if%20Windows%20Server%20could%20handle%20larger%20partitions%20in%20the%201-10%20TB%20range.%26nbsp%3B%3C%2FP%3E%3CP%3EMS%20assured%20us%20that%20this%20would%20not%20be%20an%20issue%20and%20instructed%20us%20to%20create%20multiple%20server%20pairs%20using%20DFS%20Namespaces%20and%20DFS%20replication%20for%20redundancy.%3C%2FP%3E%3CP%3EFollowing%20their%20instructions%20and%20the%20documentation%20for%20DFS%20(which%20is%20quite%20short%20and%20simple)%2C%20we%20created%20the%20(virtual)%20servers%20and%20partitions.%20The%20primary%20servers%20and%20the%20DFS%20Namespaces%20worked%20just%20fine%20(except%20for%20VSS%2C%20separate%20issue).%20However%20DFS%20Replication%20(DFSR)%20kept%20failing.%3C%2FP%3E%3CP%3EWe%20contacted%20MS%20Premier%20support%2C%20who%20checked%20everything%20and%20said%20it%20was%20configured%20correctly%20and%20everything%20should%20be%20working.%20We%20created%20an%20additional%20test%20server%20with%20new%20partitions%20and%20it%20worked%2C%20until%20we%20populated%20it.%20Then%20DFS-R%20failed%20again%2C%20it%20would%20not%20complete%20replication.%20In%20some%20cases%2C%20it%20would%20not%20even%20start.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20long%20as%20the%20partition%20had%20under%20a%20couple%20thousand%20files%2C%20it%20was%20fine%2C%20but%20as%20soon%20as%20we%20populated%20it%20with%20the%20normal%20100GB%20to%202TB%20of%20data%20(100%2C000%20to%205%2C000%2C000%20files)%2C%20it%20completely%20and%20totally%20failed.%20MS%20support%20was%20unable%20to%20get%20it%20working%20despite%2030-40%20hours%20working%20with%20our%20tech.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20also%20occurred%20with%20one%20of%20our%20sister%20entities%20who%20tried%20the%20same%20simple%20design%2C%20with%20much%20less%20data.%20They%20had%20it%20much%20worse%2C%20they%20started%20using%20the%20copied%20files%20expecting%20them%20to%20replicate.%20Since%20DFS%20was%20sending%20different%20users%20to%20different%20files%20in%20the%20server%20pairs%2C%20the%20files%20became%20badly%20out%20of%20sync.%20It%20is%20costing%20them%20hundreds%20of%20work%20hours%20to%20manually%20fix%20each%20paired%20file%20set.%20VERY%20painful%20and%20expensive.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAt%20this%20point%2C%20it%20appears%20that%20DFS%20Replication%20is%20%3CU%3E%3CEM%3Enot%3C%2FEM%3E%20%3C%2FU%3EEnterprise%20or%20business%20ready.%20It%20is%20not%20consistent%20or%20reliable%2C%20and%20fails%20very%20quietly%2C%20resulting%20in%20serious%20business%20impact.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMS%20does%20not%20appear%20have%20any%20solutions%20to%20the%20issue.%20DFS-R%20simply%20cannot%20be%20depended%20on.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-279208%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EStorage%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-279816%22%20slang%3D%22en-US%22%3ERe%3A%20Business%20or%20Enterprise%20DFS-R%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-279816%22%20slang%3D%22en-US%22%3E%3CP%3EI%20used%20DFS%20in%20my%20last%20job%20and%20its%20not%20great%20for%20large%20quantity%20of%20files.%20The%20replication%20is%20slow%20and%20if%20you%20have%20any%20issues%20it%20can%20be%20a%20real%20headache%20to%20fix.%20I%20would%20suggest%20looking%20up%20Ned%20Pyles%20articles%20on%20DFS%20really%20helpful.%20You%20could%20possible%20look%20at%20cloning%20to%20speed%20up%20the%20initial%20sync%20of%20the%20volumes.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Ffilecab%2F2013%2F08%2F21%2Fdfs-replication-initial-sync-in-windows-server-2012-r2-attack-of-the-clones%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Ffilecab%2F2013%2F08%2F21%2Fdfs-replication-initial-sync-in-windows-server-2012-r2-attack-of-the-clones%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20may%20want%20to%20look%20into%20Storage%20Replica%20as%20an%20alternative%20replication%20method%2C%20again%20Ned%20Pyle%20has%20good%20articles%26nbsp%3Bon%20this.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-279214%22%20slang%3D%22en-US%22%3ERe%3A%20Business%20or%20Enterprise%20DFS-R%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-279214%22%20slang%3D%22en-US%22%3E%3CP%3EAdditional%20information%20from%20MS%20Support.%3C%2FP%3E%3CP%3EHelpful%20for%20small%20DFS-R%20instances%2C%20%3CEM%3E%3CU%3Ebut%20does%20not%20apply%20to%20large%20file%20sets%3C%2FU%3E%3C%2FEM%3E%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EElaborate%20on%20ConflictAndDeleted%20and%20Pre-Existing%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fclicktime.symantec.com%2Fa%2F1%2FWInsvCexoMS3P6C9E4oLPoX9k9nvXFnYmZ7yGCa7_U4%3D%3Fd%3DNVqyoNV-6RMrZAficPZhg8f9Qb82VHI2N997Uok4KZkMt3cLXIamQO8SZTNkUOEnPJF61yGaPElfflV3PLxZnnklbWJX6Q5nTmYuAUtlVgLXHptNC-iLKSN1zf03f4VEEe5LCOSazYQbePsBh78LD_I-cQTE7Kpkg6Lo4-AxXnM81BFJhu_s50pYC60H0b3enzr_nUEN9Ffa26SGP_KhslYO2nKPuY2LDwQdBsaQABSRYpFT9Dn7U27xt67GdNgZbBHMgvzJjglCSrvAeVXL5FkNSEAjrlA9H4fcSSHrfRnhjKYTu1wqU5Dwk3yRUYg-IrWNA7MLY6zRCR8CfSJocYCPgSIL3GBmxHCaBNOm9IwrpoacROm8QAFe-obfW7KxvvahxkHrwHoYaLP3CSJJlCDiqP4bFM-DN_Z15Dsh7lh8y3sQw5ouhc1NjUjuxxmcEJqpldclavMiFyMRwbF_4QYMAMXIN-Q4tpAfb6k%253D%26amp%3Bu%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fen-us%252Fprevious-versions%252Fwindows%252Fit-pro%252Fwindows-server-2003%252Fcc773238%2528v%253Dws.10%2529%2523BKMK_024%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fprevious-versions%2Fwindows%2Fit-pro%2Fwindows-server-2003%2Fcc773238(v%3Dws.10)%23BKMK_024%3C%2FA%3E%20-%20DFS%20Replication%3A%20Frequently%20Asked%20Questions%20(FAQ).%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CEM%3EExcerpt%3A%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EWhat%20happens%20if%20the%20primary%20member%20suffers%20a%20database%20loss%20during%20initial%20replication%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EDuring%20initial%20replication%2C%20the%20primary%20member's%20files%20will%20always%20take%20precedence%20in%20the%20conflict%20resolution%20that%20occurs%20if%20the%20receiving%20members%20have%20different%20versions%20of%20files%20on%20the%20primary%20member.%20The%20primary%20member%20designation%20is%20stored%20in%20Active%20Directory%20Domain%20Services%2C%20and%20the%20designation%20is%20cleared%20after%20the%20primary%20member%20is%20ready%20to%20replicate%2C%20but%20before%20all%20members%20of%20the%20replication%20group%20replicate.%3C%2FP%3E%3CP%3E%3CSTRONG%3EWhat%20happens%20when%20two%20users%20simultaneously%20update%20the%20same%20file%20on%20different%20servers%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EWhen%20DFS%20Replication%20detects%20a%20conflict%2C%20it%20uses%20the%20version%20of%20the%20file%20that%20was%20saved%20last.%20It%20moves%20the%20other%20file%20into%20the%20DfsrPrivate%5CConflictandDeleted%20folder%20(under%20the%20local%20path%20of%20the%20replicated%20folder%20on%20the%20computer%20that%20resolved%20the%20conflict).%20It%20remains%20there%20until%20Conflict%20and%20Deleted%20folder%20cleanup%2C%20which%20occurs%20when%20the%20Conflict%20and%20Deleted%20folder%20exceeds%20the%20configured%20size%20or%20DFS%20Replication%20encounters%20an%20Out%20of%20disk%20space%20error.%20The%20Conflict%20and%20Deleted%20folder%20is%20not%20replicated%2C%20and%20this%20method%20of%20conflict%20resolution%20avoids%20the%20problem%20of%20morphed%20directories%20that%20was%20possible%20in%20FRS.%3C%2FP%3E%3CP%3EWhen%20a%20conflict%20occurs%2C%20DFS%20Replication%20logs%20an%20informational%20event%20to%20the%20DFS%20Replication%20event%20log.%20This%20event%20does%20not%20require%20user%20action%20for%20the%20following%20reasons%3A%3C%2FP%3E%3CUL%3E%3CLI%3EIt%20is%20not%20visible%20to%20users%20(it%20is%20visible%20only%20to%20server%20administrators).%3C%2FLI%3E%3CLI%3EDFS%20Replication%20treats%20the%20Conflict%20and%20Deleted%20folder%20as%20a%20cache.%20When%20a%20quota%20threshold%20is%20reached%2C%20it%20cleans%20out%20some%20of%20those%20files.%20There%20is%20no%20guarantee%20that%20conflicting%20files%20will%20be%20saved.%3C%2FLI%3E%3CLI%3EThe%20conflict%20could%20reside%20on%20a%20server%20different%20from%20the%20origin%20of%20the%20conflict.%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fclicktime.symantec.com%2Fa%2F1%2FLcMpQ1gBGg4MUDDOqHq5-wqlXdQ7uGU-AqsRjBzgIGY%3D%3Fd%3DNVqyoNV-6RMrZAficPZhg8f9Qb82VHI2N997Uok4KZkMt3cLXIamQO8SZTNkUOEnPJF61yGaPElfflV3PLxZnnklbWJX6Q5nTmYuAUtlVgLXHptNC-iLKSN1zf03f4VEEe5LCOSazYQbePsBh78LD_I-cQTE7Kpkg6Lo4-AxXnM81BFJhu_s50pYC60H0b3enzr_nUEN9Ffa26SGP_KhslYO2nKPuY2LDwQdBsaQABSRYpFT9Dn7U27xt67GdNgZbBHMgvzJjglCSrvAeVXL5FkNSEAjrlA9H4fcSSHrfRnhjKYTu1wqU5Dwk3yRUYg-IrWNA7MLY6zRCR8CfSJocYCPgSIL3GBmxHCaBNOm9IwrpoacROm8QAFe-obfW7KxvvahxkHrwHoYaLP3CSJJlCDiqP4bFM-DN_Z15Dsh7lh8y3sQw5ouhc1NjUjuxxmcEJqpldclavMiFyMRwbF_4QYMAMXIN-Q4tpAfb6k%253D%26amp%3Bu%3Dhttps%253A%252F%252Fblogs.technet.microsoft.com%252Faskds%252F2010%252F01%252F05%252Funderstanding-dfsr-conflict-algorithms-and-doing-something-about-conflicts%252F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Faskds%2F2010%2F01%2F05%2Funderstanding-dfsr-conflict-algorithms-and-doing-something-about-conflicts%2F%3C%2FA%3E%20-%20Understanding%20DFSR%20conflict%20algorithms%20(and%20doing%20something%20about%20conflicts).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ETroubleshooting%20steps%20for%20events%204304%20%26amp%3B%205002%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ETroubleshooting%20DFSR%20Event%204304%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fclicktime.symantec.com%2Fa%2F1%2FiONZHYM7lvfL-LyzYW7nE6w-hd_NLR9_c6RSmaZzqe4%3D%3Fd%3DNVqyoNV-6RMrZAficPZhg8f9Qb82VHI2N997Uok4KZkMt3cLXIamQO8SZTNkUOEnPJF61yGaPElfflV3PLxZnnklbWJX6Q5nTmYuAUtlVgLXHptNC-iLKSN1zf03f4VEEe5LCOSazYQbePsBh78LD_I-cQTE7Kpkg6Lo4-AxXnM81BFJhu_s50pYC60H0b3enzr_nUEN9Ffa26SGP_KhslYO2nKPuY2LDwQdBsaQABSRYpFT9Dn7U27xt67GdNgZbBHMgvzJjglCSrvAeVXL5FkNSEAjrlA9H4fcSSHrfRnhjKYTu1wqU5Dwk3yRUYg-IrWNA7MLY6zRCR8CfSJocYCPgSIL3GBmxHCaBNOm9IwrpoacROm8QAFe-obfW7KxvvahxkHrwHoYaLP3CSJJlCDiqP4bFM-DN_Z15Dsh7lh8y3sQw5ouhc1NjUjuxxmcEJqpldclavMiFyMRwbF_4QYMAMXIN-Q4tpAfb6k%253D%26amp%3Bu%3Dhttps%253A%252F%252Fblogs.technet.microsoft.com%252Faskds%252F2007%252F10%252F05%252Ftop-10-common-causes-of-slow-replication-with-dfsr%252F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Faskds%2F2007%2F10%2F05%2Ftop-10-common-causes-of-slow-replication-with-dfsr%2F%3C%2FA%3E%20-%20Top%2010%20Common%20Causes%20of%20Slow%20Replication%20with%20DFSR.%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CEM%3EExcerpt%3A%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EMany%20applications%20can%20create%20a%20large%20number%20of%20spurious%20sharing%20violations%2C%20because%20they%20create%20temporary%20files%20that%20shouldn%E2%80%99t%20be%20replicated.%20If%20they%20have%20a%20predictable%20extension%2C%20you%20can%20prevent%20DFSR%20from%20trying%20to%20replicate%20them%20by%20setting%20and%20exception%20in%20DFSMGMT.MSC.%20The%20default%20file%20filter%20excludes%20file%20extensions%20~*%2C%20*.bak%2C%20and%20*.tmp%2C%20so%20for%20example%20the%20Microsoft%20Office%20temporary%20files%20(~*)%20are%20excluded%20by%20default.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20two%20kinds%20of%20DFSR%20events%20for%20sharing%20violations%3A%20Event%20ID%204302%20and%20Event%20ID%204304.%20The%20DFSR%20Diagnostics%20combines%20both%20kinds%20of%20events%2C%20and%20reports%20them%20only%20as%20%22Event%20ID%204302.%22.%20The%20following%20information%20explains%20more%20about%20these%20two%20kinds%20of%20events%3A%3C%2FP%3E%3CP%3EEvent%20ID%204302%3A%20A%20local%20sharing%20violation%20occurs%20when%20the%20service%20cannot%20receive%20an%20updated%20file%20because%20the%20local%20file%20is%20being%20used.%20This%20occurs%20on%20the%20%22receive%22%20side%20of%20the%20file%20change.%20The%20file%20is%20already%20replicated.%20However%2C%20it%20cannot%20be%20moved%20from%20the%20installing%20directory%20to%20the%20final%20destination.%3C%2FP%3E%3CP%3EEvent%20ID%204304%3A%20The%20service%20cannot%20stage%20a%20file%20for%20replication%20because%20of%20a%20sharing%20violation.%20This%20occurs%20on%20the%20%22send%22%20side%20of%20the%20file%20change.%20DFSR%20wants%20to%20stage%20or%20copy%20the%20file%20for%20replication.%20However%2C%20an%20exclusive%20lock%20prevents%20this.%20(%3CSTRONG%3EIn%20our%20case%3C%2FSTRONG%3E)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fclicktime.symantec.com%2Fa%2F1%2Fw4HgQtpuqaYAGx6KecRa7E1d9qPmcMalMO8GlKmD4R8%3D%3Fd%3DNVqyoNV-6RMrZAficPZhg8f9Qb82VHI2N997Uok4KZkMt3cLXIamQO8SZTNkUOEnPJF61yGaPElfflV3PLxZnnklbWJX6Q5nTmYuAUtlVgLXHptNC-iLKSN1zf03f4VEEe5LCOSazYQbePsBh78LD_I-cQTE7Kpkg6Lo4-AxXnM81BFJhu_s50pYC60H0b3enzr_nUEN9Ffa26SGP_KhslYO2nKPuY2LDwQdBsaQABSRYpFT9Dn7U27xt67GdNgZbBHMgvzJjglCSrvAeVXL5FkNSEAjrlA9H4fcSSHrfRnhjKYTu1wqU5Dwk3yRUYg-IrWNA7MLY6zRCR8CfSJocYCPgSIL3GBmxHCaBNOm9IwrpoacROm8QAFe-obfW7KxvvahxkHrwHoYaLP3CSJJlCDiqP4bFM-DN_Z15Dsh7lh8y3sQw5ouhc1NjUjuxxmcEJqpldclavMiFyMRwbF_4QYMAMXIN-Q4tpAfb6k%253D%26amp%3Bu%3Dhttps%253A%252F%252Fblogs.technet.microsoft.com%252Ffilecab%252F2006%252F05%252F15%252Ftroubleshooting-erroneous-sharing-violations-in-the-dfs-replication-health-report%252F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Ffilecab%2F2006%2F05%2F15%2Ftroubleshooting-erroneous-sharing-violations-in-the-dfs-replication-health-report%2F%3C%2FA%3E%20-%20Troubleshooting%20erroneous%20sharing%20violations%20in%20the%20DFS%20Replication%20health%20report.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fclicktime.symantec.com%2Fa%2F1%2F2m4UmhDzT3RKh0jwjNNYQoN9_qPitfiSCLhyIkrLqhM%3D%3Fd%3DNVqyoNV-6RMrZAficPZhg8f9Qb82VHI2N997Uok4KZkMt3cLXIamQO8SZTNkUOEnPJF61yGaPElfflV3PLxZnnklbWJX6Q5nTmYuAUtlVgLXHptNC-iLKSN1zf03f4VEEe5LCOSazYQbePsBh78LD_I-cQTE7Kpkg6Lo4-AxXnM81BFJhu_s50pYC60H0b3enzr_nUEN9Ffa26SGP_KhslYO2nKPuY2LDwQdBsaQABSRYpFT9Dn7U27xt67GdNgZbBHMgvzJjglCSrvAeVXL5FkNSEAjrlA9H4fcSSHrfRnhjKYTu1wqU5Dwk3yRUYg-IrWNA7MLY6zRCR8CfSJocYCPgSIL3GBmxHCaBNOm9IwrpoacROm8QAFe-obfW7KxvvahxkHrwHoYaLP3CSJJlCDiqP4bFM-DN_Z15Dsh7lh8y3sQw5ouhc1NjUjuxxmcEJqpldclavMiFyMRwbF_4QYMAMXIN-Q4tpAfb6k%253D%26amp%3Bu%3Dhttps%253A%252F%252Fblogs.technet.microsoft.com%252Faskds%252F2009%252F02%252F20%252Funderstanding-the-lack-of-distributed-file-locking-in-dfsr%252F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Faskds%2F2009%2F02%2F20%2Funderstanding-the-lack-of-distributed-file-locking-in-dfsr%2F%3C%2FA%3E%20-%20Understanding%20(the%20Lack%20of)%20Distributed%20File%20Locking%20in%20DFSR.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ETroubleshooting%20DFSR%20Event%205002%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEvent%20ID%205002%20is%20a%20very%20common%20DFSR%20warning%26nbsp%3Bevent%20that%20is%20logged%20when%20connection%20failures%20occur.%20There%20are%20different%20root%20causes%20of%20this%20event%2C%20and%20in%20each%20case%26nbsp%3Bthe%20event%26nbsp%3Bmust%20be%20evaluated%20individually.%20There%26nbsp%3Bare%20some%20common%20root%20causes%20and%20resolutions%20listed%20below%20which%20should%20be%20considered%20only%20after%20the%20error%20codes%20within%26nbsp%3Bthe%20events%20are%20understood.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ECommon%20errors%20returned%20with%20Event%20ID%205002%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EThis%20section%20lists%20the%20error%20portion%20of%20the%20%22Additional%20Information%22%20section%20for%20the%26nbsp%3BEvent%20ID%205014%20with%20known%20solutions.%20The%20majority%20of%20the%20events%20fall%20into%20two%20main%20categories%3A%20Remote%20Procedure%20Call%20(RPC)%20failures%20and%20errors%20returned%20by%20the%20service%20itself.%3C%2FP%3E%3CP%3E%3CSTRONG%3ERemote%20Procedure%20Call%20(RPC)%20errors%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3EError%3A%201723%20(The%20RPC%20server%20is%20too%20busy%20to%20complete%20this%20operation)%3C%2FLI%3E%3CLI%3EError%3A%201726%20(The%20remote%20procedure%20call%20failed)%3C%2FLI%3E%3CLI%3EError%3A%201727%20(The%20remote%20procedure%20call%20failed%20and%20did%20not%20execute)%3C%2FLI%3E%3CLI%3EError%3A%201753%20(There%20are%20no%20more%20endpoints%20available%20from%20the%20endpoint%20mapper.)%20%26nbsp%3B(%3CSTRONG%3EIn%20our%20case%3C%2FSTRONG%3E)%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ECommon%20Solutions%20for%20RPC%20errors%3A%3C%2FSTRONG%3E%3C%2FP%3E%3COL%3E%3CLI%3EMake%20sure%20all%20DFSR%20servers%20are%20patched%20with%20the%20latest%20DFSR%20releases.%3C%2FLI%3E%3C%2FOL%3E%3CP%3ENote%3A%20When%20troubleshooting%20DFSR%20%3CSTRONG%3Ealways%3C%2FSTRONG%3E%20confirm%20all%20servers%20are%20up%20to%20date%20with%20latest%20DFSR%20hotfixes%20-%3C%2FP%3E%3CP%3EList%20of%20currently%20available%20hotfixes%20for%20Distributed%20File%20System%20(DFS)%20technologies%20in%20Windows%20Server%202003%20and%20in%20Windows%20Server%202003%20R2%3A%20%3CA%20href%3D%22https%3A%2F%2Fclicktime.symantec.com%2Fa%2F1%2FINwhDaqLD6-R4mN7mD1ewAX9k31tDMpdbLeO5m4Xxek%3D%3Fd%3DNVqyoNV-6RMrZAficPZhg8f9Qb82VHI2N997Uok4KZkMt3cLXIamQO8SZTNkUOEnPJF61yGaPElfflV3PLxZnnklbWJX6Q5nTmYuAUtlVgLXHptNC-iLKSN1zf03f4VEEe5LCOSazYQbePsBh78LD_I-cQTE7Kpkg6Lo4-AxXnM81BFJhu_s50pYC60H0b3enzr_nUEN9Ffa26SGP_KhslYO2nKPuY2LDwQdBsaQABSRYpFT9Dn7U27xt67GdNgZbBHMgvzJjglCSrvAeVXL5FkNSEAjrlA9H4fcSSHrfRnhjKYTu1wqU5Dwk3yRUYg-IrWNA7MLY6zRCR8CfSJocYCPgSIL3GBmxHCaBNOm9IwrpoacROm8QAFe-obfW7KxvvahxkHrwHoYaLP3CSJJlCDiqP4bFM-DN_Z15Dsh7lh8y3sQw5ouhc1NjUjuxxmcEJqpldclavMiFyMRwbF_4QYMAMXIN-Q4tpAfb6k%253D%26amp%3Bu%3Dhttp%253A%252F%252Fsupport.microsoft.com%252Fkb%252F958802%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsupport.microsoft.com%2Fkb%2F958802%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EList%20of%20currently%20available%20hotfixes%20for%20Distributed%20File%20System%20(DFS)%20technologies%20in%20Windows%20Server%202008%20and%20in%20Windows%20Server%202008%20R2%3A%20%3CA%20href%3D%22https%3A%2F%2Fclicktime.symantec.com%2Fa%2F1%2Fiv8fkguWWpdUA281rBH6SR7lQyTpyLbHVCeCfBrqQBA%3D%3Fd%3DNVqyoNV-6RMrZAficPZhg8f9Qb82VHI2N997Uok4KZkMt3cLXIamQO8SZTNkUOEnPJF61yGaPElfflV3PLxZnnklbWJX6Q5nTmYuAUtlVgLXHptNC-iLKSN1zf03f4VEEe5LCOSazYQbePsBh78LD_I-cQTE7Kpkg6Lo4-AxXnM81BFJhu_s50pYC60H0b3enzr_nUEN9Ffa26SGP_KhslYO2nKPuY2LDwQdBsaQABSRYpFT9Dn7U27xt67GdNgZbBHMgvzJjglCSrvAeVXL5FkNSEAjrlA9H4fcSSHrfRnhjKYTu1wqU5Dwk3yRUYg-IrWNA7MLY6zRCR8CfSJocYCPgSIL3GBmxHCaBNOm9IwrpoacROm8QAFe-obfW7KxvvahxkHrwHoYaLP3CSJJlCDiqP4bFM-DN_Z15Dsh7lh8y3sQw5ouhc1NjUjuxxmcEJqpldclavMiFyMRwbF_4QYMAMXIN-Q4tpAfb6k%253D%26amp%3Bu%3Dhttp%253A%252F%252Fsupport.microsoft.com%252Fkb%252F968429%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsupport.microsoft.com%2Fkb%2F968429%3C%2FA%3E%3C%2FP%3E%3CP%3EUpdates%20to%20DFSR%20are%20released%20as%20needed%2C%20and%20all%20the%20servers%20using%20DFSR%20should%20be%20maintained%26nbsp%3Bas%20part%20of%20regular%20patching%20and%20maintenance%20schedules.%3C%2FP%3E%3COL%3E%3CLI%3EDisable%20Task%20Offloading%20on%20all%20members%20of%20the%20Replication%20Group%20-%20%3CA%20href%3D%22https%3A%2F%2Fclicktime.symantec.com%2Fa%2F1%2FKyS86Rh5mBzbxGt_xCJLmjBx7bULvPQd-htdSiPd2rU%3D%3Fd%3DNVqyoNV-6RMrZAficPZhg8f9Qb82VHI2N997Uok4KZkMt3cLXIamQO8SZTNkUOEnPJF61yGaPElfflV3PLxZnnklbWJX6Q5nTmYuAUtlVgLXHptNC-iLKSN1zf03f4VEEe5LCOSazYQbePsBh78LD_I-cQTE7Kpkg6Lo4-AxXnM81BFJhu_s50pYC60H0b3enzr_nUEN9Ffa26SGP_KhslYO2nKPuY2LDwQdBsaQABSRYpFT9Dn7U27xt67GdNgZbBHMgvzJjglCSrvAeVXL5FkNSEAjrlA9H4fcSSHrfRnhjKYTu1wqU5Dwk3yRUYg-IrWNA7MLY6zRCR8CfSJocYCPgSIL3GBmxHCaBNOm9IwrpoacROm8QAFe-obfW7KxvvahxkHrwHoYaLP3CSJJlCDiqP4bFM-DN_Z15Dsh7lh8y3sQw5ouhc1NjUjuxxmcEJqpldclavMiFyMRwbF_4QYMAMXIN-Q4tpAfb6k%253D%26amp%3Bu%3Dhttp%253A%252F%252Ftechnet.microsoft.com%252Fen-us%252Flibrary%252Fcc959732.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fcc959732.aspx%3C%2FA%3E%3C%2FLI%3E%3CLI%3EWindows%202003%20R2%20(Reboot%20necessary)%20-%20%3CA%20href%3D%22https%3A%2F%2Fclicktime.symantec.com%2Fa%2F1%2Fqx7ZFVspovUFKoELUIwzAKzjbk3cFVeGxewHvFtNun0%3D%3Fd%3DNVqyoNV-6RMrZAficPZhg8f9Qb82VHI2N997Uok4KZkMt3cLXIamQO8SZTNkUOEnPJF61yGaPElfflV3PLxZnnklbWJX6Q5nTmYuAUtlVgLXHptNC-iLKSN1zf03f4VEEe5LCOSazYQbePsBh78LD_I-cQTE7Kpkg6Lo4-AxXnM81BFJhu_s50pYC60H0b3enzr_nUEN9Ffa26SGP_KhslYO2nKPuY2LDwQdBsaQABSRYpFT9Dn7U27xt67GdNgZbBHMgvzJjglCSrvAeVXL5FkNSEAjrlA9H4fcSSHrfRnhjKYTu1wqU5Dwk3yRUYg-IrWNA7MLY6zRCR8CfSJocYCPgSIL3GBmxHCaBNOm9IwrpoacROm8QAFe-obfW7KxvvahxkHrwHoYaLP3CSJJlCDiqP4bFM-DN_Z15Dsh7lh8y3sQw5ouhc1NjUjuxxmcEJqpldclavMiFyMRwbF_4QYMAMXIN-Q4tpAfb6k%253D%26amp%3Bu%3Dhttp%253A%252F%252Fsupport.microsoft.com%252Fdefault.aspx%253Fscid%253Dkb%253BEN-US%253B904946%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsupport.microsoft.com%2Fdefault.aspx%3Fscid%3Dkb%3BEN-US%3B904946%3C%2FA%3E%3C%2FLI%3E%3CLI%3EWindows%202008%20and%202008%20R2%20(No%20reboot%20necessary)%20%E2%80%93%3C%2FLI%3E%3CLI%3ERun%20this%20command%20from%20an%20elevated%20command%20prompt%3A%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CEM%3Enetsh%20int%20ip%20set%20global%20taskoffload%3Ddisabled%3C%2FEM%3E%3C%2FP%3E%3COL%3E%3CLI%3EDisable%20and%20then%20re-enable%20the%20network%20interface%20card%3C%2FLI%3E%3C%2FOL%3E%3CP%3Eiii.%20To%20confirm%20the%20command%20completed%20successfully%2C%20run%3A%3CBR%20%2F%3E%3CEM%3Enetsh%20int%20ip%20show%20offload%3C%2FEM%3E%3C%2FP%3E%3COL%3E%3CLI%3ECheck%20for%20Wan%20accelerators.%20Exclude%20DFSR%20traffic%20either%20by%20IP%20address%20or%20UUID%20(897e2e5f-93f3-4376-9c9c-fd2277495c27%20Frs2%20Service)%3C%2FLI%3E%3CLI%3ECheck%20firewall%20rules.%20Make%20sure%20DFSR%20traffic%20is%20not%20being%20blocked%3C%2FLI%3E%3CLI%3ECheck%20max%20MTU%20size%20on%20your%20network%20and%20adjust%20accordingly%20so%20that%20servers%20have%20a%20common%20max%20MTU%20size.%20(Link%20KB)%3C%2FLI%3E%3CLI%3EUpdate%20Network%20Card%20drivers%20to%20latest%20versions.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EService%20Error%20codes%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EThese%20errors%20are%20more%20commonly%20service%20related.%20They%20can%20be%20caused%20by%20AD%20replication%20latency%20and%20RPC%20issues%20as%20well%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EError%3A%209026%20(The%20connection%20is%20invalid)%3C%2FP%3E%3CP%3EError%3A%209033%20(The%20request%20was%20cancelled%20by%20a%20shutdown)%3C%2FP%3E%3CP%3EError%3A%209027%20(A%20failure%20was%20reported%20by%20the%20remote%20partner)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EDescribe%20the%20data%20difference%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20could%20be%20multiple%20reasons%20for%20the%20data%20inconsistency%20as%20mentioned%20above%20(ConflictAndDeleted%2C%20Pre-Existing%2C%20Sharing%20Violations%2C%20etc.%20and%20including%20below%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fclicktime.symantec.com%2Fa%2F1%2Fmw1oBUOnORInuWPfceTDhAC4xQaXmugkGRdjzoCtL9s%3D%3Fd%3DNVqyoNV-6RMrZAficPZhg8f9Qb82VHI2N997Uok4KZkMt3cLXIamQO8SZTNkUOEnPJF61yGaPElfflV3PLxZnnklbWJX6Q5nTmYuAUtlVgLXHptNC-iLKSN1zf03f4VEEe5LCOSazYQbePsBh78LD_I-cQTE7Kpkg6Lo4-AxXnM81BFJhu_s50pYC60H0b3enzr_nUEN9Ffa26SGP_KhslYO2nKPuY2LDwQdBsaQABSRYpFT9Dn7U27xt67GdNgZbBHMgvzJjglCSrvAeVXL5FkNSEAjrlA9H4fcSSHrfRnhjKYTu1wqU5Dwk3yRUYg-IrWNA7MLY6zRCR8CfSJocYCPgSIL3GBmxHCaBNOm9IwrpoacROm8QAFe-obfW7KxvvahxkHrwHoYaLP3CSJJlCDiqP4bFM-DN_Z15Dsh7lh8y3sQw5ouhc1NjUjuxxmcEJqpldclavMiFyMRwbF_4QYMAMXIN-Q4tpAfb6k%253D%26amp%3Bu%3Dhttps%253A%252F%252Fsocial.technet.microsoft.com%252Fwiki%252Fcontents%252Farticles%252F406.dfsr-does-not-replicate-temporary-files.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsocial.technet.microsoft.com%2Fwiki%2Fcontents%2Farticles%2F406.dfsr-does-not-replicate-temporary-files.aspx%3C%2FA%3E%20-%20DFSR%20Does%20Not%20Replicate%20Temporary%20Files.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fclicktime.symantec.com%2Fa%2F1%2Fyjw_1-6xhkJ-VNA1nBtS98GypKgJSSxDs1A_1G6FL7E%3D%3Fd%3DNVqyoNV-6RMrZAficPZhg8f9Qb82VHI2N997Uok4KZkMt3cLXIamQO8SZTNkUOEnPJF61yGaPElfflV3PLxZnnklbWJX6Q5nTmYuAUtlVgLXHptNC-iLKSN1zf03f4VEEe5LCOSazYQbePsBh78LD_I-cQTE7Kpkg6Lo4-AxXnM81BFJhu_s50pYC60H0b3enzr_nUEN9Ffa26SGP_KhslYO2nKPuY2LDwQdBsaQABSRYpFT9Dn7U27xt67GdNgZbBHMgvzJjglCSrvAeVXL5FkNSEAjrlA9H4fcSSHrfRnhjKYTu1wqU5Dwk3yRUYg-IrWNA7MLY6zRCR8CfSJocYCPgSIL3GBmxHCaBNOm9IwrpoacROm8QAFe-obfW7KxvvahxkHrwHoYaLP3CSJJlCDiqP4bFM-DN_Z15Dsh7lh8y3sQw5ouhc1NjUjuxxmcEJqpldclavMiFyMRwbF_4QYMAMXIN-Q4tpAfb6k%253D%26amp%3Bu%3Dhttps%253A%252F%252Fblogs.technet.microsoft.com%252Faskds%252F2007%252F09%252F04%252Fwheres-my-file-root-cause-analysis-of-frs-and-dfsr-data-deletion%252F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Faskds%2F2007%2F09%2F04%2Fwheres-my-file-root-cause-analysis-of-frs-and-dfsr-data-deletion%2F%3C%2FA%3E%20-%20Where%E2%80%99s%20my%20file%3F%20Root%20cause%20analysis%20of%20FRS%20and%20DFSR%20data%20deletion.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EAlso%2C%20as%20we%E2%80%99re%20using%20DFSN%20(Namespace)%20in%20conjunction%20with%20DFSR%20(Replication)%2C%20we%20need%20to%20consider%20below%20articles%20as%20well%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fclicktime.symantec.com%2Fa%2F1%2Fvi0dX1bhki4dLAoR1pbAi6C5YVWTOtWS205DUNppEH4%3D%3Fd%3DNVqyoNV-6RMrZAficPZhg8f9Qb82VHI2N997Uok4KZkMt3cLXIamQO8SZTNkUOEnPJF61yGaPElfflV3PLxZnnklbWJX6Q5nTmYuAUtlVgLXHptNC-iLKSN1zf03f4VEEe5LCOSazYQbePsBh78LD_I-cQTE7Kpkg6Lo4-AxXnM81BFJhu_s50pYC60H0b3enzr_nUEN9Ffa26SGP_KhslYO2nKPuY2LDwQdBsaQABSRYpFT9Dn7U27xt67GdNgZbBHMgvzJjglCSrvAeVXL5FkNSEAjrlA9H4fcSSHrfRnhjKYTu1wqU5Dwk3yRUYg-IrWNA7MLY6zRCR8CfSJocYCPgSIL3GBmxHCaBNOm9IwrpoacROm8QAFe-obfW7KxvvahxkHrwHoYaLP3CSJJlCDiqP4bFM-DN_Z15Dsh7lh8y3sQw5ouhc1NjUjuxxmcEJqpldclavMiFyMRwbF_4QYMAMXIN-Q4tpAfb6k%253D%26amp%3Bu%3Dhttps%253A%252F%252Fblogs.technet.microsoft.com%252Faskds%252F2012%252F07%252F24%252Fcommon-dfsn-configuration-mistakes-and-oversights%252F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Faskds%2F2012%2F07%2F24%2Fcommon-dfsn-configuration-mistakes-and-oversights%2F%3C%2FA%3E%20-%20Common%20DFSN%20Configuration%20Mistakes%20and%20Oversights.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Caleb Raymer
New Contributor

We worked with MS Professional Services to design an Windows Server 2016 file server replacement for our NAS. One of our concerns was if Windows Server could handle larger partitions in the 1-10 TB range. 

MS assured us that this would not be an issue and instructed us to create multiple server pairs using DFS Namespaces and DFS replication for redundancy.

Following their instructions and the documentation for DFS (which is quite short and simple), we created the (virtual) servers and partitions. The primary servers and the DFS Namespaces worked just fine (except for VSS, separate issue). However DFS Replication (DFSR) kept failing.

We contacted MS Premier support, who checked everything and said it was configured correctly and everything should be working. We created an additional test server with new partitions and it worked, until we populated it. Then DFS-R failed again, it would not complete replication. In some cases, it would not even start.

 

As long as the partition had under a couple thousand files, it was fine, but as soon as we populated it with the normal 100GB to 2TB of data (100,000 to 5,000,000 files), it completely and totally failed. MS support was unable to get it working despite 30-40 hours working with our tech. 

 

This also occurred with one of our sister entities who tried the same simple design, with much less data. They had it much worse, they started using the copied files expecting them to replicate. Since DFS was sending different users to different files in the server pairs, the files became badly out of sync. It is costing them hundreds of work hours to manually fix each paired file set. VERY painful and expensive.

 

At this point, it appears that DFS Replication is not Enterprise or business ready. It is not consistent or reliable, and fails very quietly, resulting in serious business impact. 

 

MS does not appear have any solutions to the issue. DFS-R simply cannot be depended on.

2 Replies

Additional information from MS Support.

Helpful for small DFS-R instances, but does not apply to large file sets:

 

Elaborate on ConflictAndDeleted and Pre-Existing:

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc773238(v=ws.... - DFS Replication: Frequently Asked Questions (FAQ).

Excerpt:

What happens if the primary member suffers a database loss during initial replication?

During initial replication, the primary member's files will always take precedence in the conflict resolution that occurs if the receiving members have different versions of files on the primary member. The primary member designation is stored in Active Directory Domain Services, and the designation is cleared after the primary member is ready to replicate, but before all members of the replication group replicate.

What happens when two users simultaneously update the same file on different servers?

When DFS Replication detects a conflict, it uses the version of the file that was saved last. It moves the other file into the DfsrPrivate\ConflictandDeleted folder (under the local path of the replicated folder on the computer that resolved the conflict). It remains there until Conflict and Deleted folder cleanup, which occurs when the Conflict and Deleted folder exceeds the configured size or DFS Replication encounters an Out of disk space error. The Conflict and Deleted folder is not replicated, and this method of conflict resolution avoids the problem of morphed directories that was possible in FRS.

When a conflict occurs, DFS Replication logs an informational event to the DFS Replication event log. This event does not require user action for the following reasons:

  • It is not visible to users (it is visible only to server administrators).
  • DFS Replication treats the Conflict and Deleted folder as a cache. When a quota threshold is reached, it cleans out some of those files. There is no guarantee that conflicting files will be saved.
  • The conflict could reside on a server different from the origin of the conflict.

 

https://blogs.technet.microsoft.com/askds/2010/01/05/understanding-dfsr-conflict-algorithms-and-doin... - Understanding DFSR conflict algorithms (and doing something about conflicts).

 

Troubleshooting steps for events 4304 & 5002:

 

Troubleshooting DFSR Event 4304:

 

https://blogs.technet.microsoft.com/askds/2007/10/05/top-10-common-causes-of-slow-replication-with-d... - Top 10 Common Causes of Slow Replication with DFSR.

Excerpt:

Many applications can create a large number of spurious sharing violations, because they create temporary files that shouldn’t be replicated. If they have a predictable extension, you can prevent DFSR from trying to replicate them by setting and exception in DFSMGMT.MSC. The default file filter excludes file extensions ~*, *.bak, and *.tmp, so for example the Microsoft Office temporary files (~*) are excluded by default.

 

There two kinds of DFSR events for sharing violations: Event ID 4302 and Event ID 4304. The DFSR Diagnostics combines both kinds of events, and reports them only as "Event ID 4302.". The following information explains more about these two kinds of events:

Event ID 4302: A local sharing violation occurs when the service cannot receive an updated file because the local file is being used. This occurs on the "receive" side of the file change. The file is already replicated. However, it cannot be moved from the installing directory to the final destination.

Event ID 4304: The service cannot stage a file for replication because of a sharing violation. This occurs on the "send" side of the file change. DFSR wants to stage or copy the file for replication. However, an exclusive lock prevents this. (In our case)

 

https://blogs.technet.microsoft.com/filecab/2006/05/15/troubleshooting-erroneous-sharing-violations-... - Troubleshooting erroneous sharing violations in the DFS Replication health report.

https://blogs.technet.microsoft.com/askds/2009/02/20/understanding-the-lack-of-distributed-file-lock... - Understanding (the Lack of) Distributed File Locking in DFSR.

 

Troubleshooting DFSR Event 5002:

 

Event ID 5002 is a very common DFSR warning event that is logged when connection failures occur. There are different root causes of this event, and in each case the event must be evaluated individually. There are some common root causes and resolutions listed below which should be considered only after the error codes within the events are understood.

 

Common errors returned with Event ID 5002

This section lists the error portion of the "Additional Information" section for the Event ID 5014 with known solutions. The majority of the events fall into two main categories: Remote Procedure Call (RPC) failures and errors returned by the service itself.

Remote Procedure Call (RPC) errors

  • Error: 1723 (The RPC server is too busy to complete this operation)
  • Error: 1726 (The remote procedure call failed)
  • Error: 1727 (The remote procedure call failed and did not execute)
  • Error: 1753 (There are no more endpoints available from the endpoint mapper.)  (In our case)

 

Common Solutions for RPC errors:

  1. Make sure all DFSR servers are patched with the latest DFSR releases.

Note: When troubleshooting DFSR always confirm all servers are up to date with latest DFSR hotfixes -

List of currently available hotfixes for Distributed File System (DFS) technologies in Windows Server 2003 and in Windows Server 2003 R2: http://support.microsoft.com/kb/958802  

List of currently available hotfixes for Distributed File System (DFS) technologies in Windows Server 2008 and in Windows Server 2008 R2: http://support.microsoft.com/kb/968429

Updates to DFSR are released as needed, and all the servers using DFSR should be maintained as part of regular patching and maintenance schedules.

  1. Disable Task Offloading on all members of the Replication Group - http://technet.microsoft.com/en-us/library/cc959732.aspx
  2. Windows 2003 R2 (Reboot necessary) - http://support.microsoft.com/default.aspx?scid=kb;EN-US;904946
  3. Windows 2008 and 2008 R2 (No reboot necessary) –
  4. Run this command from an elevated command prompt:

netsh int ip set global taskoffload=disabled

  1. Disable and then re-enable the network interface card

iii. To confirm the command completed successfully, run:
netsh int ip show offload

  1. Check for Wan accelerators. Exclude DFSR traffic either by IP address or UUID (897e2e5f-93f3-4376-9c9c-fd2277495c27 Frs2 Service)
  2. Check firewall rules. Make sure DFSR traffic is not being blocked
  3. Check max MTU size on your network and adjust accordingly so that servers have a common max MTU size. (Link KB)
  4. Update Network Card drivers to latest versions.

 

Service Error codes

These errors are more commonly service related. They can be caused by AD replication latency and RPC issues as well

Error: 9026 (The connection is invalid)

Error: 9033 (The request was cancelled by a shutdown)

Error: 9027 (A failure was reported by the remote partner)

 

Describe the data difference:

 

There could be multiple reasons for the data inconsistency as mentioned above (ConflictAndDeleted, Pre-Existing, Sharing Violations, etc. and including below:

https://social.technet.microsoft.com/wiki/contents/articles/406.dfsr-does-not-replicate-temporary-fi... - DFSR Does Not Replicate Temporary Files.

https://blogs.technet.microsoft.com/askds/2007/09/04/wheres-my-file-root-cause-analysis-of-frs-and-d... - Where’s my file? Root cause analysis of FRS and DFSR data deletion.

 

Also, as we’re using DFSN (Namespace) in conjunction with DFSR (Replication), we need to consider below articles as well:

 

https://blogs.technet.microsoft.com/askds/2012/07/24/common-dfsn-configuration-mistakes-and-oversigh... - Common DFSN Configuration Mistakes and Oversights.

 

Highlighted

I used DFS in my last job and its not great for large quantity of files. The replication is slow and if you have any issues it can be a real headache to fix. I would suggest looking up Ned Pyles articles on DFS really helpful. You could possible look at cloning to speed up the initial sync of the volumes. https://blogs.technet.microsoft.com/filecab/2013/08/21/dfs-replication-initial-sync-in-windows-serve...

 

You may want to look into Storage Replica as an alternative replication method, again Ned Pyle has good articles on this. 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies