Interesting...
How does fragmentation of files occur?

Consider this simple example...

Three files(A, B and C), each requiring three blocks of disc storage are stored.

A1 A2 A3 B1 B2 B3 C1 C2 C3 Free space
File B is then deleted...and another file (D) is stored, which requires 5 blocks of storage...
A1 A2 A3 D1 D2 D3 C1 C2 C3 D4 D5 Free space
Fragmentation of files has started...File D is split into two separate fragments...
Now suppose that files A and C are deleted and a new file (E) is stored that needs 7 blocks of disc storage...
E1 E2 E3 D1 D2 D3 E4 E5 E6 D4 D5 E7 Free space
Fragmentation is now getting worse, because file E is split into three different fragments..

...and fragmentation will continue to get worse as more and more files are stored and deleted...

But, run a defragmentation program and the file blocks will be reorganised...

 

E1 E2 E3 E4 E5 E6 E7 D1 D2 D3 D4 D5 Free space
 

   Back