Article ID: 320686 - Last Review: February 28, 2007 - Revision: 3.2 Disk Quota Charges Increase If You Turn On the NTFS Compression FunctionalityThis article was previously published under Q320686 SYMPTOMS
If you turn on the NTFS file system compression functionality or if you compress the files that you own on an NTFS volume on which you have turned on the Disk Quotas functionality, the disk quota that you are charged increases. In this situation, you may go over your disk quota limit even if you had plenty of free disk space available before you compressed the files.
CAUSE
The following sizes are associated with a file:
For example, if you format the NTFS volume by using 4096 (4-kilobyte [KB]) clusters, if the File Size value for a file that is saved on the volume is 158,208 bytes and the Allocated Space value for this file is 159,744 bytes, this file use 39 clusters. If you compress this file, NTFS must compress it by using 3 16-cluster compression units. To do so, NTFS allocates nine more clusters for a total of 48 clusters. The new Allocated Space value for the file is now 196,608 bytes. However, after you compress the file, the file's Compressed Allocation value is only 110,592 bytes, which is a reduction of 12 clusters worth of actual disk space. You are charged with the larger Allocated Space value (196,608 bytes) in your disk quota. If you compress many files, this additional allocation can add up quickly and cause you to go over your disk quota limit. NOTE: A single compression unit on an NTFS volume that uses 4-KB clusters is 65,536 bytes (4096 x 16). This value is the minimum Allocated Space value that is charged for a compressed file. RESOLUTION
To resolve this issue, decompress the files so that the sizes of the file are changed to the file's original smaller Allocated Space value. Because disk quotas always charge you based on the file's Allocated Space value, you cannot stay under your quota limit if you compress a file. Alternatively, if you want to compress files to save real disk space, increase you disk quota setting to compensate for the extra disk quota that is charged as a result of NTFS compression. STATUSThis behavior is by design. MORE INFORMATIONFor additional information about disk quotas, click the article number below
to view the article in the Microsoft Knowledge Base:
300979
(http://support.microsoft.com/kb/300979/EN-US/
)
HOW TO: Manage Disk Capacity and Usage By Using Windows 2000
| Article Translations
|
Back to the top
