DFS Replication has experienced an update sequence number (USN) journal loss on D:<span style="font-family:Calibri;font-size:x-small"><span style="font-size:11pt;font-family:'Calibri','sans-serif'">DFS Replication has experienced an update sequence number (USN) journal loss on D:</span> </span> <br/> <br/> What can be the cause? I know there was a fibre break between two of our offices that day. can this implement an error such as suddenly files disappearing from the DFS?<br/>© 2009 Microsoft Corporation. All rights reserved.Mon, 29 Jun 2009 12:02:30 Z7eccb1fc-511b-4787-94fb-de261d06612bhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/7eccb1fc-511b-4787-94fb-de261d06612b#7eccb1fc-511b-4787-94fb-de261d06612bhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/7eccb1fc-511b-4787-94fb-de261d06612b#7eccb1fc-511b-4787-94fb-de261d06612bHAL07http://social.technet.microsoft.com/Profile/en-US/?user=HAL07DFS Replication has experienced an update sequence number (USN) journal loss on D:<span style="font-family:Calibri;font-size:x-small"><span style="font-size:11pt;font-family:'Calibri','sans-serif'">DFS Replication has experienced an update sequence number (USN) journal loss on D:</span> </span> <br/> <br/> What can be the cause? I know there was a fibre break between two of our offices that day. can this implement an error such as suddenly files disappearing from the DFS?<br/>Thu, 25 Jun 2009 12:21:19 Z2009-06-25T13:56:34Zhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/7eccb1fc-511b-4787-94fb-de261d06612b#dc32a534-d199-4ff4-8ab8-de2bc2f79d4ahttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/7eccb1fc-511b-4787-94fb-de261d06612b#dc32a534-d199-4ff4-8ab8-de2bc2f79d4aDavid Shen - MSFThttp://social.technet.microsoft.com/Profile/en-US/?user=David%20Shen%20-%20MSFTDFS Replication has experienced an update sequence number (USN) journal loss on D:<p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Hello HAL07,</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Thank you for posting here.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Generally speaking, </span><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'">a USN journal *loss* means that the USN journal was deleted. A USN journal *wrap* indicates that files are being changed faster than DFSR can manage.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:'Verdana','sans-serif'"><span style="font-size:small"> </span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">On Windows Server 2008, there are two separate events that will be logged in DFS Replication event log if the above error could occur.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong style=""><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Event ID 2202: indicates a journal wrap </span></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong style=""><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Event ID 2204: indicates a journal loss</span></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">To identify which process deleted the NTFS change journal on the D: volume and causes the error, you can open Event Viewer and try to find the above 2 events, if you can see the journal loss event 2204, and then you will know that someone or some process deleted the NTFS change journal on the D: volume. </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">According to your description, it seems that the fibre broke at that time. It is possible that the USN journal was corrupt or deleted due to the hardware issue.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Solution:</span></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">DFSR should recover from this error by re-scanning all of the volume's replicated files, and then resuming normal replication activity. However, if there are lots of files on that volume, this recovery process can take a while.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Hope the information can helpful.</span></p><hr class="sig">This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Fri, 26 Jun 2009 04:07:38 Z2009-06-26T04:07:38Zhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/7eccb1fc-511b-4787-94fb-de261d06612b#f9be4122-c32b-4a37-a18b-79994905e541http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/7eccb1fc-511b-4787-94fb-de261d06612b#f9be4122-c32b-4a37-a18b-79994905e541HAL07http://social.technet.microsoft.com/Profile/en-US/?user=HAL07DFS Replication has experienced an update sequence number (USN) journal loss on D:yes I have a 2204. and it was 22.06.09 at 18:44<br/> Now it's still not fixed. I wonder how long it takes before it's synced?<br/> <br/> it's about 1,6tb of data<br/> <br/> Update 28.june: The DFS finally started working after I scheduled a boot-time disk repair during boot-up of the volume D: on the central file server.Fri, 26 Jun 2009 10:48:10 Z2009-06-29T12:00:43Zhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/7eccb1fc-511b-4787-94fb-de261d06612b#c65b1baf-3c83-42bf-b17f-133ceba9e9aahttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/7eccb1fc-511b-4787-94fb-de261d06612b#c65b1baf-3c83-42bf-b17f-133ceba9e9aaHAL07http://social.technet.microsoft.com/Profile/en-US/?user=HAL07DFS Replication has experienced an update sequence number (USN) journal loss on D:I ran a chkdsk/F (had to schedule it at boot time) and the problem finally went away.<br/> <br/> The real cause was some kind of bug in volsnap. I got the following event in System log<br/> <br/> Log Name:      System<br/> Source:        volsnap<br/> Date:          19.06.2009 12:45:13<br/> Event ID:      8<br/> Task Category: None<br/> Level:         Error<br/> Keywords:      Classic<br/> User:          N/A<br/> Computer:      servername.domain.com<br/> Description:<br/> The flush and hold writes operation on volume D: timed out while waiting for a release writes command.<br/> Event Xml:<br/> &lt;Event xmlns=&quot;http://schemas.microsoft.com/win/2004/08/events/event&quot;&gt;<br/>   &lt;System&gt;<br/>     &lt;Provider Name=&quot;volsnap&quot; /&gt;<br/>     &lt;EventID Qualifiers=&quot;49158&quot;&gt;8&lt;/EventID&gt;<br/>     &lt;Level&gt;2&lt;/Level&gt;<br/>     &lt;Task&gt;0&lt;/Task&gt;<br/>     &lt;Keywords&gt;0x80000000000000&lt;/Keywords&gt;<br/>     &lt;TimeCreated SystemTime=&quot;2009-06-19T10:45:13.555Z&quot; /&gt;<br/>     &lt;EventRecordID&gt;49824&lt;/EventRecordID&gt;<br/>     &lt;Channel&gt;System&lt;/Channel&gt;<br/>     &lt;Computer&gt;servername.domain.com&lt;/Computer&gt;<br/>     &lt;Security /&gt;<br/>   &lt;/System&gt;<br/>   &lt;EventData&gt;<br/>     &lt;Data&gt;<br/>     &lt;/Data&gt;<br/>     &lt;Data&gt;D:&lt;/Data&gt;<br/>     &lt;Binary&gt;000000000200300000000000080006C000000000000000001B000000000000000000000000000000&lt;/Binary&gt;<br/>   &lt;/EventData&gt;<br/> &lt;/Event&gt;<br/> <br/> Then later:<br/> Log Name:      System<br/> Source:        Service Control Manager<br/> Date:          19.06.2009 18:10:22<br/> Event ID:      7031<br/> Task Category: None<br/> Level:         Error<br/> Keywords:      Classic<br/> User:          N/A<br/> Computer:      servername.domain.com<br/> Description:<br/> The DFS Replication service terminated unexpectedly.  It has done this 1 time(s).  The following corrective action will be taken in 1800000 milliseconds: Restart the service.<br/> Event Xml:<br/> &lt;Event xmlns=&quot;http://schemas.microsoft.com/win/2004/08/events/event&quot;&gt;<br/>   &lt;System&gt;<br/>     &lt;Provider Name=&quot;Service Control Manager&quot; Guid=&quot;{555908D1-A6D7-4695-8E1E-26931D2012F4}&quot; EventSourceName=&quot;Service Control Manager&quot; /&gt;<br/>     &lt;EventID Qualifiers=&quot;49152&quot;&gt;7031&lt;/EventID&gt;<br/>     &lt;Version&gt;0&lt;/Version&gt;<br/>     &lt;Level&gt;2&lt;/Level&gt;<br/>     &lt;Task&gt;0&lt;/Task&gt;<br/>     &lt;Opcode&gt;0&lt;/Opcode&gt;<br/>     &lt;Keywords&gt;0x80000000000000&lt;/Keywords&gt;<br/>     &lt;TimeCreated SystemTime=&quot;2009-06-19T16:10:22.000Z&quot; /&gt;<br/>     &lt;EventRecordID&gt;49852&lt;/EventRecordID&gt;<br/>     &lt;Correlation /&gt;<br/>     &lt;Execution ProcessID=&quot;0&quot; ThreadID=&quot;0&quot; /&gt;<br/>     &lt;Channel&gt;System&lt;/Channel&gt;<br/>     &lt;Computer&gt;servername.domain.com&lt;/Computer&gt;<br/>     &lt;Security /&gt;<br/>   &lt;/System&gt;<br/>   &lt;EventData&gt;<br/>     &lt;Data Name=&quot;param1&quot;&gt;DFS Replication&lt;/Data&gt;<br/>     &lt;Data Name=&quot;param2&quot;&gt;1&lt;/Data&gt;<br/>     &lt;Data Name=&quot;param3&quot;&gt;1800000&lt;/Data&gt;<br/>     &lt;Data Name=&quot;param4&quot;&gt;1&lt;/Data&gt;<br/>     &lt;Data Name=&quot;param5&quot;&gt;Restart the service&lt;/Data&gt;<br/>   &lt;/EventData&gt;<br/> &lt;/Event&gt;<br/> <br/> Then various volsnap errors the days after. Not sure how this really affected the journal, but there was some kind of inconsistency on the drive.<br/> <br/> 1. I wonder where the journal is saved<br/> 2. where is the log of what got fixed on chkdsk/f at boot time. The server is Windows 2008.<br/>Mon, 29 Jun 2009 05:44:32 Z2009-06-29T05:44:32Zhttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/7eccb1fc-511b-4787-94fb-de261d06612b#73445579-aa79-4bdd-ad51-b420c752427chttp://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/7eccb1fc-511b-4787-94fb-de261d06612b#73445579-aa79-4bdd-ad51-b420c752427cDavid Shen - MSFThttp://social.technet.microsoft.com/Profile/en-US/?user=David%20Shen%20-%20MSFTDFS Replication has experienced an update sequence number (USN) journal loss on D:<p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Hello HAL07,</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Sorry for the delay. Glad to hear that the issue has went away.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">Based on my research, here is some detailed information which might be helpful for you.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'">Q1. I wonder where the journal is saved?</span></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">A1: Generally speaking, USN change journal is saved as the metadata of NTFS on the file system.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">In Windows Server 2008, an NTFS volume can use an update sequence number (USN) change journal. A change journal provides a complete log of all changes made to the volume. It records additions, deletions, and modifications regardless of who made them or how the additions, deletions, and modifications occurred. As with system logs, the change log is persistent, so it isn’t reset if you shut down and restart the operating system.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">The operating system writes records to the NTFS change log when an NTFS checkpoint occurs. The checkpoint tells the operating system to write changes that would allow NTFS to recover from failure to a particular point in time.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">The change journal is enabled when you install certain services, including File Replication Service (FRS), Indexing Service, and Distributed File System Service. Domain controllers and any other computer in the domain that uses these services rely heavily on the change journal. The change journal allows these services to be very efficient at determining when files, folders, and other NTFS objects have been modified. Rather than checking time stamps and registering for file notifications, these services perform direct lookups in the change journal to determine all the modifications made to a set of files. Not only is this faster, it uses system resources more efficiently as well.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">We can query the USN data for a volume by running the following command</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><em><span style="font-size:10pt;font-family:'Verdana','sans-serif'">fsutil usn queryjournal &lt;Drive letter&gt;</span></em></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">We can also get the most recent change journal entry for a file by typing following command</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><em><span style="font-size:10pt;font-family:'Verdana','sans-serif'">fsutil usn readdata &lt;FilePath&gt;</span></em></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">where FilePath is the name of the file for which you want to retrieve change information. </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">For example, if you want to obtain the most recent change journal information on a file with the path C:\Domain-Computers.txt, you’d type</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><em><span style="font-size:10pt;font-family:'Verdana','sans-serif'">fsutil usn readdata c:\domaincomputers.txt</span></em></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><em><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></em></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'">If you want to enumerate all the USN journal data for all the files on a volume, you can use the following command</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><em><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></em></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><em><span style="font-size:10pt;font-family:'Verdana','sans-serif'">fsutil usn enumdata &lt;Drive letter&gt;</span></em></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'">Q2. Where is the log of what got fixed on chkdsk/f at boot time. The server is Windows 2008.</span></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'">A2: </span></strong><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'">Generally, the log information about Chkdsk is saved in the Event logging system, you can double-click on &quot;Adminstrative Tools&quot;, double-click on the &quot;Event Viewer&quot;, then expand &quot;Windows Logs&quot;, and then click on &quot;Application&quot;. In the &quot;Source&quot; column, look for the &quot;Winlogon&quot; item. Double-click it and you will see the results of the Chkdsk during startup progress.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'">We can also run the command to output the log to other location, </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><em><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'">Chkdsk /f &gt; C:\output.txt</span></em></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;color:black;font-family:'Verdana','sans-serif'">Hope the information can be helpful.</span></p> <hr class=sig> This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Mon, 29 Jun 2009 07:15:49 Z2009-06-29T07:17:08Z