Default cluster size for FAT and NTFS (140365)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows Server 2003, Datacenter Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Web Edition

This article was previously published under Q140365

SUMMARY

All file systems used by Windows organize your hard disk based upon cluster (or allocation unit) size, which represents the smallest amount of disk space which can be allocated to hold a file. So when file sizes do not come out to an even multiple of the cluster size, extra space must be used to hold the file (up to the next multiple of the cluster size). On the typical partition, this means that (cluster size)/2 * (number of files) worth of space is lost this way.

If no cluster size is specified during format, NTFS picks defaults based upon the size of the partition. These defaults have been selected to reduce the amount of space lost and to reduce the amount of fragmentation on the partition.

MORE INFORMATION

The following default values are used by Windows NT 3.51 and later when a volume is formatted to NTFS via one of the following methods:
  1. Using the FORMAT command from the command line without specifying a cluster size.
  2. Formatting a volume from Windows Explorer when Allocation Unit box in the format dialog lists "Default Allocation Size".
Cluster size Maximum NTFS volume size (bytes RAW)
5122,199,023,255,552 (2TB)
10244,398,046,511,104 (4TB)
2048 8,796,093,022,208 (8TB)
4096 17,592,186,044,416 (17TB)
The maximum default cluster size under Windows NT 3.51 and later is 4K due to the fact that NTFS file compression is not possible on drives with a larger allocation size. So format will never use larger than 4k clusters unless the user specifically overrides the defaults by using the /A: switch (for command line format) or by specifying a larger cluster size in the format dialog in Windows Explorer.

As versions of Windows NT earlier than 3.51 do not support NTFS file compression, the default cluster sizes will go above 4k. For Windows NT 3.50 and earlier, the following addition to the above table applies:
Cluster size Maximum NTFS Volume size (bytes RAW)
819235,184,372,088,832 (35TB)
1638470,368,744,177,664 (70TB)
32768 140,737,488,355,328 (140TB)
65536281,474,976,710,656 (281TB)
When you are using the Convert.exe utility to convert to NTFS, Windows always uses a 512-byte cluster size. This is due to the fact that the FAT structures are aligned on 512 byte boundaries, so any larger cluster size would not allow the conversion to function. Note also when formatting a partition under Windows Setup, the partition is first formatted to FAT and then converted to NTFS, so the cluster size will also always be 512 bytes when a partition is formated in Setup.

Note This only applies to Windows NT 3.5, 3.51, and 4.0. It does not apply to Windows 2000 Setup, which formats the partition using the file system you choose.

The FAT file system uses the following cluster sizes. These sizes the same under Microsoft Windows NT, Microsoft MS-DOS, Microsoft Windows 95 and any other operating system that supports FAT:
   Drive Size          FAT Type   Sectors       Cluster
   (logical volume)               Per Cluster   Size
   -----------------   --------   -----------   -------
   0 MB - 15 MB        12-bit     8             4K
   16 MB - 127 MB      16-bit     4             2K
   128 MB - 255 MB     16-bit     8             4K
   256 MB - 511 MB     16-bit     16            8K
   512 MB - 1023 MB    16-bit     32            16K
   1024 MB - 2048 MB   16-bit     64            32K
   2048 MB - 4096 MB   16-bit     128           64K
   *4096 MB - 8192 MB  16-bit     256           128K  NT V4.0 only
   *8192 MB - 16384 MB 16-bit     512           256K  NT V4.0 only
				
To support > 4GB FAT partitions using 128k or 256k clusters, the drives must use > 512 byte sectors.

Note On very small FAT partitions, a 12-bit FAT is used instead of a 16-bit FAT. The FAT files system only supports 512 byte sectors, so both the sectors per cluster and the cluster size is fixed.

Modification Type:MajorLast Reviewed:11/15/2005
Keywords:kbinfo kbother KB140365