File System - Cluster (File | Sector Cluster)

Undraw File Manager Re Ms29


A cluster is a group of hard drive sectors that is addressed as one logical persistent unit by the operating system file system to read and write a file.

Sector Cluster

In computer file systems, a cluster is the unit of disk space allocation for files and directories.

A cluster represents the smallest amount of disk space that can be used to hold a file.

To reduce the overhead of managing on-disk data structures, the operating system file system does not allocate individual disk sectors, but contiguous groups of sectors, called clusters.

A cluster need not be physically contiguous on the disk; it may span more than one track or, if sector interleaving is used, may even be discontinuous within a track. This should not be confused with fragmentation, as the sectors are still logically contiguous.

Most HDD come from the factory with a low level format where block size = 512 bytes. The filesystem (in this case NTFS) can create cluster sizes of a multiple of 512 (with a default of 4k or 8 blocks).


The cluster allows the OS file system to optimize the administration of disk data independently of the disk sector size set by the hardware disk controller.


Clusters are referenced under Windows as the Allocation Unit Size for the file system.

For instance, NTFS under Windows NT 4.0 and later versions of Windows is 4 kilobytes (KB). More see Windows Cluster Size

Balance between file and cluster size

A cluster is the smallest logical amount of disk space that can be allocated to hold a file. Storing small files on a filesystem with large clusters will therefore waste disk space; such wasted disk space is called slack space. For cluster sizes which are small versus the average file size, the wasted space per file will be statistically about half of the cluster size; for large cluster sizes, the wasted space will become greater. However, a larger cluster size reduces bookkeeping overhead and fragmentation, which may improve reading and writing speed overall.

Typical cluster sizes range from 1 sector (512 B) to 128 sectors (64 KiB).


Because cluster are logical unit used by the OS file system, they can be anywhere on the disk.

If you want to have them next to each other, you need to perform a defragmentation.

Documentation / Reference

Discover More
Data Storage - Logical Block Addressing (LBA)

Logical block addressing (LBA) is a common scheme used for specifying the location of blocks of data stored on computer storage devices, generally secondary storage systems such as hard disks. LBA has...
Disk - Sector (Physical block)

A sector is the block (minimal persistent unit) on a disk at the physical level. It is not possible to modify any part of the disk smaller than a sector. To change a part of the disk smaller than a sector,...
Undraw File Manager Re Ms29
File (System, Transfer, Storage)

This section is based on the File data structure. A file is: a logical grouping of related data (at the cluster size) identified through a path managed through a file system transferred through...
Undraw File Manager Re Ms29
File - File System (filesystem)

A file system (often also written as filesystem) is an application that stores and organizes files and their data (content). Essentially, it organizes these files for storage, organization, manipulation,...
Undraw File Manager Re Ms29
File - Persistent Storage Operations

In a file system, the basic persistent storage operations that permits to manage the file content are called: create - Creates a new file and open it write - Opens the file for write access (append...
Sector Cluster
File - Write

This page is the write operation performed by the OS file system. A write file io operation permits to write data in a file by block of data called cluster (as opposed to a sector for a disk) Before...
Windows File Properties Size On Disk
File System - Block

Every file system implements the notion of block (unit of persistent storage) where a file is split into one or more blocks. The block size is the smallest unit of data that a file system can store. ...
Sector Cluster
File System - Defragmentation (Contiguous Cluster)

cluster are the logical unit of file storage for the OS file system. When writing and deleting, the creation of the clusters are not always: used as its full capacity and contiguous on the disk...
Sector Cluster
File System - Fragmentation

A file is divided logically in cluster by the OS file system. This leads to: a little bit of space inefficiency (the last block remain partially empty) clusters not being contiguous to each other...
Undraw File Manager Re Ms29
File System - Request

A file request is a file operation that is send to the underlying file system. The operation file system makes requests to the disk by cluster and load the result in memory, allowing the underlying...

Share this page:
Follow us:
Task Runner