none
Defragging or shrinking $Extend$usnJrnl

    Question

  • I am sure this question has been asked before but I couldn't see a definitive answer.

    I am finding that on several of our Windows 2008 servers, particularly on the C: drives that the $Extend$usnJrnl files are getting huge and are scatterd all over the drive thus making it difficult to defrag large files because of the small gaps between the fragments of $usnjrnl.

    I know once in the past I did use fsutil.exe to delete & recreate a usnJrnl file but I know it then messed up the FRS.

    Does any one know a proper procedure whereby you can either shrink or delete/recreate a smaller usnJrnl so that a proper defragmentation with Diskeeper can take place without causing too mush trouble?

    Thanks.


    I.T. Manager International House London
    Tuesday, April 05, 2011 9:13 AM

Answers

  • As you said, delete it may cause issue application will not see file changes between the last time the application ran and when the journal was deleted.

    Here is an article to do a recover after deleting the file. See:

    Troubleshooting journal_wrap errors on Sysvol and DFS replica sets
    http://support.microsoft.com/kb/292438


    Shaon Shan |TechNet Subscriber Support in forum |If you have any feedback on our support, please contact tngfb@microsoft.com
    Friday, April 08, 2011 8:16 AM
    Moderator
  • Hi, I'll take a look at that article. Thanks.
    I.T. Manager International House London
    • Marked as answer by Maurice_Reed Friday, April 08, 2011 8:25 AM
    Friday, April 08, 2011 8:25 AM

All replies

  • bump
    I.T. Manager International House London
    Wednesday, April 06, 2011 7:59 AM
  • It should be the correct way to delete the files with fsutil. Steps are provided in this article:

    http://support.microsoft.com/kb/311724

    As you said we cannot defrag $usbjrnl. As it will be recreated soon, if it is acceptable you can just skip these files.


    Shaon Shan |TechNet Subscriber Support in forum |If you have any feedback on our support, please contact tngfb@microsoft.com
    Wednesday, April 06, 2011 9:19 AM
    Moderator
  • You mean you want to resize partitions? or simply for what?

    No, I didn't mention resizing partitions in my original post.
    I.T. Manager International House London
    Wednesday, April 06, 2011 11:30 AM
  • It should be the correct way to delete the files with fsutil. Steps are provided in this article:

    http://support.microsoft.com/kb/311724

    As you said we cannot defrag $usbjrnl. As it will be recreated soon, if it is acceptable you can just skip these files.


    Shaon Shan |TechNet Subscriber Support in forum |If you have any feedback on our support, please contact tngfb@microsoft.com


    Hi, that article refers to corrupt drives under Windows 2000 but at least does mention deleting the usnJrnl and recreating it.

    All I am trying to do is tidy up some server drives by running full defragmentations on them. But, because the unmovable file $usnJrnl is scattered all over the drive(a bit like a Jackson Pollack painting) it makes it impossible to defrag some very large files because of the fragmented free space.

    I will have to bite the bullet and delete the file with fsutil and recreate a smaller one then defrag the drives and then try getting FRS to start up again.


    I.T. Manager International House London
    Wednesday, April 06, 2011 11:35 AM
  • As you said, delete it may cause issue application will not see file changes between the last time the application ran and when the journal was deleted.

    Here is an article to do a recover after deleting the file. See:

    Troubleshooting journal_wrap errors on Sysvol and DFS replica sets
    http://support.microsoft.com/kb/292438


    Shaon Shan |TechNet Subscriber Support in forum |If you have any feedback on our support, please contact tngfb@microsoft.com
    Friday, April 08, 2011 8:16 AM
    Moderator
  • Hi, I'll take a look at that article. Thanks.
    I.T. Manager International House London
    • Marked as answer by Maurice_Reed Friday, April 08, 2011 8:25 AM
    Friday, April 08, 2011 8:25 AM