

These physical movements take time to complete, and the more head movements required, the longer it takes to read or write a file.ĭefragmentation attempts to rearrange storage blocks linearly. When a file is fragmented, the disk heads move to various locations to read all of the file's blocks. The result is a fragmented file.ĭisk fragmentation is a problem because hard disks read and write data by moving mechanical heads across the surface of a disk. If a file is larger than those empty blocks can accommodate, part of the file writes to the empty blocks while the remainder goes to empty storage blocks residing elsewhere on the disk. When a user erases a file, Windows leaves empty storage blocks behind that subsequent write operations will attempt to fill.

Files are created and erased while using a Windows computer.
