[SOLVED] What happens when you defragment an HDD which has several partitions ?

SomeGuyonTHW

Reputable
Oct 9, 2020
195
18
4,595
Sorry for stupid question but I'm really curious.
for example, we have a 5 terabyte HDD, with 5 partitions each one 1TB, also each of them are filled with 300 gigabytes of different folders files etc...
now what happens when we defrag this HDD?
does it depend on defragment tool? (in this case we're talking about Windows defragment tool and/or third party tools such as iObit Defragger)
does the app count all partitions as separate HDDs & dedicate a part of it to a certain partition then only defrag that part? or it just Moves all files together regardless of which partition it is in? thanks.
 
Solution
does the app count all partitions as separate HDDs & dedicate a part of it to a certain partition then only defrag that part? or it just Moves all files together regardless of which partition it is in? thanks.
A partition is like the index of a book, it's just some information at the beginning of the disk that tells windows that the user wants the files on that partition to show up under a specific drive letter.
There are ways to create file lists to only fragment files that are on a specific partition but in general all files are being put together in the front of the disk.

Some defragmanters do leave space between files of different partitions, mainly between the OS and the rest of them because the OS changes often due to...
does the app count all partitions as separate HDDs & dedicate a part of it to a certain partition then only defrag that part? or it just Moves all files together regardless of which partition it is in? thanks.
A partition is like the index of a book, it's just some information at the beginning of the disk that tells windows that the user wants the files on that partition to show up under a specific drive letter.
There are ways to create file lists to only fragment files that are on a specific partition but in general all files are being put together in the front of the disk.

Some defragmanters do leave space between files of different partitions, mainly between the OS and the rest of them because the OS changes often due to updates, the pagefile, and whatnot, so leaving some space allows for new files to be written without messing up older files.
 
Solution
Sorry for stupid question but I'm really curious.
for example, we have a 5 terabyte HDD, with 5 partitions each one 1TB, also each of them are filled with 300 gigabytes of different folders files etc...
now what happens when we defrag this HDD?
does it depend on defragment tool? (in this case we're talking about Windows defragment tool and/or third party tools such as iObit Defragger)
does the app count all partitions as separate HDDs & dedicate a part of it to a certain partition then only defrag that part? or it just Moves all files together regardless of which partition it is in? thanks.
Look at it as each partition is a disk.
Defrag will move stuff around within that disk.
It does not move stuff from one disk to another.