April 03, 1998 09:03 PM

JSI Tip 0487 - What is the MFT (Master File Table) and how can I manage it?

Rating: (1)
Windows IT Pro
InstantDoc ID #71812

The MFT is the heart of an NTFS partition. There is at least one entry in the MFT for every file on an NTFS volume. All the information about a file, including its' size, time and date stamps, permissions, data content, etc. are stored in the MFT (or in space described by the MFT).

To prevent fragmentation of the MFT, NTFS reserves space for the MFT in an effort to keep it as contiguous as it grows. This is important because defraggers can not move MFT records and fragmentation of the MFT can severely impact performance.

When you add files to an NTFS volume, entries are added to the MFT. When files are deleted from an NTFS volume, their MFT entries are marked as free and may be reused, but the MFT does not shrink. Thus, space used by these entries is not reclaimed from the disk.

NTFS reserves a percentage of the volume for exclusive use of the MFT. Space for files and directories will not be allocated from this MFT zone until all other space is allocated first. Depending on the average file size and other variables, either the reserved MFT zone or the unreserved space on the disk may be filled first. Volumes with a few large files will exhaust the unreserved space first, while volumes with a large number of small files will exhaust the MFT zone space first. When either the MFT zone or the unreserved space fills, fragmentation of the MFT starts. If the unreserved space becomes full, space for user files and directories will be allocated from the MFT zone. If the MFT zone becomes full, space for new MFT entries will be allocated from the remainder of the disk.

You can impact the amount of space NTFS reserves for the MFT by editing:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem

Add Value name NtfsMftZoneReservation as a type REG_DWORD and set the data value. The valid range is 1 - 4.

1    -    The minimum percentage (undocument and changing in SP4) will be used.
4    -    The maximum percentage will be used.

The ratio between these values is also undocumented and will also change with SP4.

NOTE: This is a run-time parameter and does not affect the format of a volume. It affects the way NTFS allocates space on all volumes. To be completely effective, this entry should in effect at the time you format a volume.

ARTICLE TOOLS

Add a Comment

There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS

eBooks

Playbook for a Virtualized Datacenter | During challenging times, optimizing the IT infrastructure becomes imperative. Many organizations are looking to extend their virtualization efforts to encompass the entire datacenter. Get a step-through of your technology options and more.

White Papers

As the advances in USB devices have made them invaluable to most business users’, they have also exposed organizations to enormous risks. Learn how to easily enforce device/port control and data encryption policies without requiring new infrastructure and additional admin overhead.

WEB SEMINARS

Is Flexible Lockdown Possible? Join Darren Mar-Elia for this free web webinar exploring the various methods you should consider to protect and control your desktops while also understanding the impact on the end user community.
View Seminar On-Demand.

eLearning Series

Windows IT Pro brings the experts direct to you to share their real-world perspective, experience, and expertise. During each event, three sessions stream in real time, allowing you to learn, to ask questions, and to get solutions.
Upcoming event: SQL Server Consolidation

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.