From: JimR on

Run Linux, an OS that does not cause disks to become fragmented in the
first place.