Home > Windows Server Tips > Windows Systems and Network Administration > Compression and wasted quota space in Windows NTFS
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS AND NETWORK ADMINISTRATION

Compression and wasted quota space in Windows NTFS


Rick Cook, contributor
09.08.2005
Rating: -3.75- (out of 5)


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


If you use the disk compression feature in Windows NTFS, you probably assume that it increases the disk space available to users under storage quotas.

But, it turns out that using the feature accomplishes exactly the opposite: It decreases the storage capacity under quotas. Turning the feature on may send some users over their quotas.

This happens because of the way NTFS compresses files and performs its internal bookkeeping. The net result is that the file size shown on the My Computer listing can be substantially more than the space actually used by compressed files -- and substantially less than the space charged against the user's quota. In fact, file size can mean several different things in Windows, and three of those numbers come into play when dealing with quotas and compressed files.

The term file size usually refers to the actual file size -- the number of bytes in the uncompressed file. However, since operating systems assign storage space by the cluster, the allocated space -- the amount of space the file takes up on the disk -- is rounded up. That means the allocated space for a file is almost always larger than the file size.

Check it out for yourself by right clicking on a file and then selecting Properties. You will see both the actual size of the file and the "size on disk," which is the allocated space.

NTFS calculates disk quotas on the basis of allocated space. That is even true for compressed files because the files have to be decompressed to be used.

The conflict arises because Windows NTFS doesn't compress files by clusters. Instead, it uses compression units of 16 clusters and calculates file space on the basis of the number of compression units needed. This wastes an average of 8 clusters of additional space for each file. In a typical user's account with hundreds or thousands of files, that space adds up. And when it is charged against users' quotas, they run out of quota space even though the file size on their screen shows that they still have plenty of space left in their quotas.

Microsoft suggests two ways to handle the situation -- by either not using compression or by increasing users' quotas to accommodate the wasted space. It discusses the situation in a Knowledge Base article, which you can find at http://support.microsoft.com/default.aspx?scid=kb;en-us;320686.

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 monthly tip contest and you could win a prize!


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.




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
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
Cutting the cost of Windows identity and access management

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

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 ExchangeTipsAsk the ExpertsMultimediaWhite 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