Sparse Files Use Quota Equal to Total Allocated Length (231388)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Professional

This article was previously published under Q231388

SUMMARY

This article describes the behavior of sparse files in a file system with quotas enforced.

MORE INFORMATION

An attributes called "sparseness" is available in the NTFS file system for Windows 2000. Sparseness describes a file that is allocated at a specific size and has smaller amounts of data surrounded by 00 bytes. With this attribute, if you create a 100-MB file with 1 MB of data present, the file occupies only slightly more than 1 MB of space in the file system.

This can affect the degree to which a sparse file impacts your quota on a drive. By design, a sparse file reserves its full size. The file can grow to that size if you write to it.

For example, if you have a quota of 200 MB, and you write 1 MB of data to a 50-MB sparse file, your quota for that volume is reduced by 50 MB.

Modification Type:MajorLast Reviewed:11/21/2003
Keywords:kbenv kbinfo KB231388