<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Some Know issues with DFSR</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/atanudey/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/atanudey/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:24:08 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Some of the Known issues with DFSR</title>
      <link>https://docs.microsoft.com/archive/blogs/atanudey/some-of-the-known-issues-with-dfsr</link>
      <pubDate>Tue, 26 Jan 2010 09:30:00 GMT</pubDate>
      <dc:creator><![CDATA[atanudey]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/atanudey/2010/01/26/some-of-the-known-issues-with-dfsr/</guid>
      <description><![CDATA[Hello, this is Atanu Dey here to talk about the known issues with DFS Replication. We are observing...]]></description>
      <content:encoded><![CDATA[<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-family:Calibri;font-size:medium;">Hello, this is Atanu Dey here to talk about the known issues with DFS Replication. We are observing that customers are calling in and telling us that they have configured DFSR and it was working as expected, but, all of&nbsp;the sudden the replication stopped or some of the files are not replicating. So I thought of blog it for benefit of others.</span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-size:medium;"><span style="font-family:Calibri;">Here are some of the knows<span> issues with DFSR:</span></span></span></div>
<ol>
<li class="MsoNormal" style="line-height:normal;margin-top:0cm;margin-right:0cm;margin-bottom:10pt;"><span style="font-size:medium;"><span style="font-family:Calibri;"><b><span>DFS Replication failing due to sharing violations</span></b></span></span></li>
<li class="MsoNormal" style="line-height:normal;margin-top:0cm;margin-right:0cm;margin-bottom:10pt;"><span style="font-size:medium;"><span style="font-family:Calibri;"><b><span>.FPT files are not replicating&nbsp;because&nbsp;they have the temporary attr</span></b></span></span><span style="font-size:medium;"><span style="font-family:Calibri;"><b><span>ibute set </span></b></span></span></li>
</ol>
<p class="CxSpMiddle" style="margin:0cm 0cm 0pt 36pt;text-indent:-18pt;line-height:normal;margin:0 0 .0001pt .5in;"><span style="font-size:medium;"><span style="font-family:Calibri;"><b><span>&nbsp;</span></b></span></span></p>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span><span style="font-size:medium;"><span style="font-family:Calibri;">Here is the brief description of those issues:</span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><b><span><span style="font-size:medium;"><span style="font-family:Calibri;">Scenario 1:</span></span></span></b></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span><span style="font-size:medium;"><span style="font-family:Calibri;">&ldquo;<b>DFS Replication failing due to a sharing violation</b>&rdquo; </span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span><span style="font-size:medium;"><span style="font-family:Calibri;">Two DCs both are win2k3R2SP2 located in the same physical location. But DFS Replication is not happening between those two servers.</span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span><span style="font-size:medium;"><span style="font-family:Calibri;">Getting following error: </span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span><span style="font-size:medium;"><span style="font-family:Calibri;">Event ID: 4302 Source DFSR Type Warning </span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span><span style="font-size:medium;"><span style="font-family:Calibri;">Description </span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span><span style="font-size:medium;"><span style="font-family:Calibri;">The DFS Replication service has been repeatedly prevented from replicating a file due to consistent sharing violations encountered on the file. A local sharing violation occurs when the service fails to receive an updated file because the local file is currently in use.</span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-size:medium;"><span style="font-family:Calibri;"><span style="text-decoration:underline;"><span></span></span><span><b>DFSR Debug Log&nbsp;Analysis:</b></span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span><span style="font-size:medium;"><span style="font-family:Calibri;">After analyzing<span>&nbsp; </span>the <span>&nbsp;</span>DFSR Debug &nbsp;logs we found many files were being held open by another process. Here is what we found in the logs: (bold added for emphasis)</span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span><span>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [<strong>Error:32</strong>(0x20) UpstreamTransport::OpenFile upstreamtransport.cpp:1096 5508 W809 <b>The process cannot access the&nbsp; file because it is being used by another process</b>.]</span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span><span>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [Error:32(0x20) NtfsFileSystem::MakeBackupReader ntfsfilesystem.cpp:322 5508 W806 <b>The process cannot access the file because it is being used by another process.]</b></span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span><span>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [<b>Error:32</b>(0x20) MarshalContext::OpenFile marshaller.cpp:2105 5508 W805 <b>The process cannot access the file because it is being used by another process.</b>] completion:0 ptr:00DC2B40</span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span><span style="font-size:medium;"><span style="font-family:Calibri;"><span style="font-family:courier new,courier;font-size:small;">20080820 00:47:39.296 5240 LDBX&nbsp; 3665 Ldb::Update Updating idRecord:</span></span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span><span style="font-size:medium;"><span style="font-family:Calibri;">&nbsp;<b>&nbsp;<span style="text-decoration:underline;">RECOMMENDATIONS:</span></b></span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-size:medium;"><span style="font-family:Calibri;"><span>As a test we disabled Anti Virus applications and rebooted both the boxes.&nbsp;&nbsp;After that DFSR started replicating successfully. We suggested to test their Antivirus product and contact the vendor to see if they supported the DFSR service. We also suggested to configure Antivirus on the&nbsp;server per Microsoft&#39;s &nbsp;best practices while contacting their vendor for support. </span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-size:medium;"><span style="font-family:Calibri;"><b><span style="color:black;">More Information:</span></b><span></span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span><span style="font-size:medium;"><span style="font-family:Calibri;">Testing Anti-Virus Application Interoperability with DFS Replication </span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><a href="https://blogs.technet.com/filecab/archive/2006/05/01/426926.aspx"><span style="color:blue;"><span style="font-family:Calibri;font-size:medium;">https://blogs.technet.com/filecab/archive/2006/05/01/426926.aspx</span></span></a><span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-size:medium;">822158&nbsp;Virus scanning recommendations for Enterprise computers that are running currently supported versions of Windows<br />&nbsp;<a href="https://support.microsoft.com/kb/822158/EN-US">https://support.microsoft.com/kb/822158/EN-US</a></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-size:medium;">&nbsp;</span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-size:12pt;font-family:&#39;Times New Roman&#39;,&#39;serif&#39;;">&nbsp;</span><b><span><span style="font-size:medium;"><span style="font-family:Calibri;">Scenario 2:</span></span></span></b></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><strong><span style="font-family:Calibri;"><span style="font-size:medium;"><span>The file type &quot;</span><span>.FPT&quot;&nbsp;are not replicating</span></span></span></strong></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-family:Calibri;"><span style="font-size:medium;">The customer had configured DFSR and all files&nbsp;except those with the &nbsp;.FPT&nbsp;extension were not replicating.</span><span style="font-size:12pt;font-family:&#39;Times New Roman&#39;,&#39;serif&#39;;"></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-family:Calibri;"><span style="font-size:medium;"><b><span style="text-decoration:underline;"><span>DFSR Debug Log&nbsp;Analysis:</span></span></b></span><span style="font-size:12pt;font-family:&#39;Times New Roman&#39;,&#39;serif&#39;;"></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>20071106 20:15:23.818 384 USNC 1204 UsnConsumer::ProcessUsnRecord <strong>Skipping USN_RECORD with FILE_ATTRIBUTE_TEMPORARY</strong> flag:</span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;USN_RECORD:</span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RecordLength:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 88</span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MajorVersion:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2</span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MinorVersion:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0</span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileRefNumber:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x1000000009b1a</span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ParentFileRefNumber: 0x1000000007b8c</span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; USN:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x15261b20</span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TimeStamp:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20071106 20:15:23.818 GMT Standard Time</span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reason:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Basic Info Change Close </span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SourceInfo:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0</span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SecurityId:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x134</span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>FileAttributes:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x100</b></span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FileNameLength:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22</span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:courier new,courier;font-size:small;"><span>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FileNameOffset:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 60</span><span></span></span></div>
<div style="margin:0cm 0cm 10pt;text-indent:18pt;line-height:normal;"><span style="font-family:Calibri;"><span style="font-family:courier new,courier;font-size:small;">+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>FileName:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; g_atran.FPT</b></span><span style="font-size:12pt;font-family:&#39;Times New Roman&#39;,&#39;serif&#39;;"></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-size:medium;"><span><span style="font-family:Calibri;">&nbsp;We found this MSDN article which explains the <span style="font-family:Calibri;">FILE_ATTRIBUTE_TEMPORARY</span>: </span></span><a href="https://msdn2.microsoft.com/en-us/library/aa364944.aspx"><span style="color:blue;"><span style="font-family:Calibri;"><a href="https://msdn2.microsoft.com/en-us/library/aa364944.aspx">https://msdn2.microsoft.com/en-us/library/aa364944.aspx</a></span><a href="https://msdn2.microsoft.com/en-us/library/aa364944.aspxCause"></a></span></a><a href="https://msdn2.microsoft.com/en-us/library/aa364944.aspxCause"></a></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><strong><span style="font-size:medium;"><span style="font-family:Calibri;">&nbsp;Cause:</span></span></strong></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-size:medium;"><span style="font-family:Calibri;">By design DFSR does not replicate&nbsp;temporary files See:</span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span><span style="font-family:Calibri;font-size:medium;">Distributed File System Replication: Frequently Asked Questions: <a href="https://technet.microsoft.com/library/cc773238(WS.10).aspx#BKMK_038">https://technet.microsoft.com/library/cc773238(WS.10).aspx#BKMK_038</a><span style="font-family:Times New Roman;font-size:medium;"> </span></span></span></div>
<p><span style="font-family:Calibri;font-size:medium;"><b>&nbsp;Resolution</b><b>:</b>&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">To resolve problems with files that have the temporary attribute set see the following blog post</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="/b/askds/archive/2008/11/11/dfsr-does-not-replicate-temporary-files.aspx">https://blogs.technet.com/b/askds/archive/2008/11/11/dfsr-does-not-replicate-temporary-files.aspx</a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span><span style="font-family:Calibri;font-size:medium;"><span style="font-family:Times New Roman;font-size:medium;"> </span></span></span></div>
<div style="margin:0cm 0cm 10pt;line-height:normal;"><span style="font-family:Calibri;"><span style="font-size:12pt;"></span><span style="font-size:12pt;font-family:&#39;Times New Roman&#39;,&#39;serif&#39;;"><br /></span></span></div>
<div style="margin:0cm 0cm 10pt;"><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></div>]]></content:encoded>
    </item>
  </channel>
</rss>