The NTFS log file is a circular log of all file operations, kept on disk so that unsuccessful operations can be rolled back safely. Each NTFS partition has its own log, which is set to a fixed size. If the log fills up, all NTFS file operations are suspended until the log is completely cycled through and flushed out to disk. This takes time, of course, and during that time absolutely nothing else can happen with the file system. Under very high I/O conditions, the system can appear to stop completely because of this.

There are several ways of addressing this problem, but they usually involve upgrading hardware; switching from a single disk to a striped RAID array is one way, for instance. But hardware upgrades are expensive and require a fair amount of downtime, so unless such plans are already on the table, you aren't likely to get quick approval. Moreover, there can be problems in migrating from one disk structure to another, which can lead to more downtime than you expected.

Another possible workaround involves increasing the size of the NTFS log file by using the CHKDSK tool, which is inexpensive and usually only requires a reboot to take effect. Since disk space is usually cheap, this is the most cost-effective first step towards limiting this bottleneck.

  1. Run CHKDSK /L on the partition in question to determine the current logfile size. The default is usually 65535K.
  2. To change the size, run CHKDSK <partition> /L:<size>

    Requires Free Membership to View

  1. /F
    , where <partition> is the partition letter with colon, and size is the new size in kilobytes. Try doubling the size of the logfile for starters.
  2. You may need to reboot for this to take effect.

Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog at www.thegline.com/win2kblog/ for his latest advice and musings on the world of Windows network administrators – please share your thoughts as well!


This was first published in May 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.