Home > Windows Server Tips > Windows Systems and Network Administration > NTFS file statistics go awry
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS AND NETWORK ADMINISTRATION

NTFS file statistics go awry


Rick Cook, contributor
07.21.2005
Rating: -3.00- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Please let us know how useful you find this tip by rating it below. Do you have a useful Windows tip, timesaver or workaround to share? Submit it to our tip contest and you could win a prize!


In part one I discussed how compromised systems and corrupted disks can be two possible causes of an NTFS disk that fills too quickly. But there are other factors that can also have this result.

You can check for the problems discussed below from Internet Explorer or from the command line.

  • Hard Links, Volume Mount Points and Directory Junction Points. These don't actually fill disks; they just make it look that way. A hard link is a directory entry for a file. All files have at least one, but NTFS allows multiple hard links to the same file. As a result, you can have several hard links, each reported with the file size, pointing to the same file.

    Volume mount points and directory junction points are constructs that point to files or folders on another volume. This is useful for sophisticated file management, but again it produces inaccurate statistics with the dir /s command or Internet Explorer.

  • Master File Table Expansion. The Master File Table is the basic record of disk structure under NTFS. It starts out at about 16K and every time a file or folder is added to the disk, it adds a 1K record called a File Record Segment (FRS) to the MFT. Since an NTFS disk can hold a great many files and folders, the MFT can take up a substantial portion of the disk.

    The problem with the Master File Table is that deleting files just leaves unused space in the MFT. The FRS is marked as available for use but the total size of the Master File Table doesn't shrink. If you have deleted a lot of small files, this can eat up a significant amount of storage space. This is compounded by the fact that the defragmenter that comes with Windows will not touch the MFT.

    However, the Windows defragmenter will tell you how large and how fragmented the MFT is. If necessary, you can use a third-party defragmenter to shrink the MFT.

  • Invalid file names. If a file name doesn't follow proper NTFS naming conventions, it may not be reported in the file statistics. The most common example of this is a file name with leading or trailing spaces. These are legal under NTFS, but Win32 doesn't handle them reliably.
  • There are several ...


    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



    RELATED CONTENT
    Windows File Management
    Using DFSR for SYSVOL replication in Windows Server 2008
    Key DFS improvements in Windows Server 2008 R2
    Quick tips for troubleshooting NTFS permissions
    Using NTFS on a non-Windows OS with NTFS-3G
    File classification the automated way with Windows Server 2008 R2
    Using DFS to create file system virtualization in Windows Server 2008
    File server migration tips for Windows Server 2008
    Windows Distributed File System (DFS) Tutorial
    Planning a file server migration to Windows 2008
    Windows Distributed File System (DFS) Namespace primer
    Windows File Management Research

    Windows Systems and Network Administration
    How to use Group Policy to centralize system configurations
    Troubleshooting Windows application crashes or hangs
    Converting VMware ESX machines to Hyper-V format
    Using DFSR for SYSVOL replication in Windows Server 2008
    Top 25 Windows PowerShell commands for administrators
    Key DFS improvements in Windows Server 2008 R2
    Free Windows security tools every admin must have
    Group Policy makes strides in Windows Server 2008 R2
    Quick tips for troubleshooting NTFS permissions
    Common causes of Windows server security vulnerabilities

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    NTFS  (SearchWindowsServer.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary


    other problems that can cause inaccurate file statistics in NTFS. Microsoft covers these issues in Knowledge Base article, How to Locate and Correct Disk Space Problems on NTFS Volumes.


    Rick Cook has been writing about mass storage since the days when the term meant an 80 K floppy disk. The computers he learned on used ferrite cores and magnetic drums. For the last 20 years he has been a freelance writer specializing in storage and other computer issues.

    Rate this Tip
    To rate tips, you must be a member of SearchWindowsServer.com.
    Register now to start rating these tips. Log in if you are already a member.




    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.



    Server Room Design - Planning, Cooling, Maintenance
    HomeTopicsBlogsITKnowledge ExchangeTipsNewsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts