How to shift all free space on hard disk to get contigous free space?

pstein

New member
My NTFS non-system partition is now almost well defragmented. However this applies only to small and medium sized files.

There are still approx 40 big files (> 1 GB) which cannot be defragmented because there is no free single (!) space slot where they fit in.

So I need a way to shift all occupied clusters to get free contigous space on my hard disk.
Currently about 150 GB is be free on my partition but divided into thousand of individual chunks.

I tried now half a dozend of defragmenters.
Sad but true: NO (!) one was able to perform this easy operation.

Can someone recommend me a real defragmenter which is able to perform such a "shift" operation?

Thank you
Peter
 

My Computer

Computer type
PC/Desktop
OS
win7pro 64bit
I'm not sure exactly what you have and exactly what you are trying to do.

I personally use Windows 7 built in defrag and have found nothing better.

Windows 7 will put things like Windows 7 wants and needs things put.
The Windows 7 defrag or 3rd party defrag programs doesn't care where you want things put or what order you want them.

As far as I know you will have no control over such things.
You are obviously using a 3rd party defrag tool because you are watching the little colored squares and noticing what looks like free spaces between things. Why things are defragged in the fashion they are I really don't know.
What I do know is Windows 7 defrag put things in the order that Windows 7 wants them and that is what counts.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.
I would only think of getting a sizeable external and copy everything to it, format the existing one and copy everything back. I let Windows manage the defrag also as Layback Bear mentioned.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64 SP1
CPU
AMD Phenom 2 1090T
Motherboard
Gigabyte GA-890FXA-UD5
Memory
2x8GB Kingston HyperX Fury Black 1600Mhz Unganged
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Realtek On-Board HD 7.1 Audio / Logitech G35
Monitor(s) Displays
3xAcer GD245HQ
Screen Resolution
1920x1080
Hard Drives
Samsung 850 Pro 512GB SSD - OS /
WD Caviar Black SATA 3 - 1 TBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GB - Internal Backup /
Seagate Barracude SATA 3 - 3TB - External Backup/ Sync
PSU
HighPower 1000W
Case
Cooler Master HAF 932
Cooling
Noctua NH-D14
Keyboard
Logitech G19
Mouse
Logitech G500
Internet Speed
100/4 Mbit Cable (100GB quota)
Antivirus
ZoneAlarm Extreme Security / MBAM Pro / MBAE Free / SAS Free
Browser
IE 11 - Firefox - Chrome
Other Info
Logitech F710/ G27/ G940/ Z5500 // TrackIR 5 // Nvidia 3D Surround Vision
Only program that I've come across that clams this type of thing is UltimateDefrag from DiskTrix, which is a commercial program

DiskTrix

There was a freeware version and as the last stable official issue was in 2012 there may be a Public Domain version about
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
I'll Second GoKay's Suggestion about an External as it then serves another purpose, which is BACKUP. You can get a 4TB External Seagate from Walmart for PS4 - USB based and it doesn't care what OS but keep in mind it is an SMR disk so going to be very slow after the cache is full (laptop size with speeds around 1000RPM)


Freeware to handle things like this include the MS SyncToy - unsupported but does a wonderful job for bulk backups or my preferred FreeFileSync: Open Source File Synchronization & Backup Software as it's under development.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
White Box
OS
Win7-64/Sp1 Ultimate
CPU
AMD Ryzen 5 1600
Motherboard
Asrock B450m Pro
Memory
64GB
Graphics Card(s)
GTX 1060 6GB
Hard Drives
Boot = Crucial MX500 250GB M2 Sata/AHCI
LSI 9211-8i HBA/IT card
Port1 = 1x Team Group GX2 256GB SSD (boot)
1x Crucial MX500 1TB (Raid 1 storage)
2x Team Group GX2 1TB (storage)
Port2 = 1x Team Group GX2 256GB SSD (boot)
1x Crucial MX500 1TB
PSU
EVGA B450
Keyboard
88 key (TKL) mechanical
Defragmenting is highly overrated anyway. The time you have spent trying the different defrag programs and otherwise tinkering to achieve what you want will never be regained by the minimal performance increase you may gain.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built desktop, Dell G15 5511 Gaming laptop,MS Surface Pro 7 tablet
OS
W10 Pro desktop, W11 laptop, W11 Pro tablet (all 64-bit)
CPU
3.7Ghz 8700K i7, i7-11800H, i7-1065G7
Motherboard
ASUS TUF Z370-Pro Gaming in desktop
Memory
16G desktop, 16G laptop, 4G tablet
Graphics Card(s)
AMD Radeon RX580, RTX 3060, Intel Iris Plus
Sound Card
High Definition Audio (Built-in to mobo)
Monitor(s) Displays
Samsung U32J59 32" (2x), 15.6", 12"
Screen Resolution
3840x2160, 3840x2160, 1920x1080, 2160x1440
Hard Drives
500G SSD for OS; 2T, 10T & 15T HDDs for Data on Desktop, 1TB SSD laptop, 128G SSD tablet.
PSU
Corsair CX 750M
Case
Antec 100
Cooling
CM 212+
Keyboard
IBM Model M - used continuously since 1986
Mouse
Microsoft Pro IntelliMouse
Internet Speed
400M down 8M up
Antivirus
Windows Defender
Browser
FireFox
Other Info
Built my first computer (8Mhz 8088cpu, 640K RAM, 20MB HDD, 2 360K floppy drives) in 1985 and have been building them for myself, relatives and friends ever since.
I did something like this recently, the defrag program MyDefrag V4.31 using preset "data disk daily"
works very well for this
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
windows 7 32 bit
CPU
Pentium 4
Memory
2 GB
Hard Drives
WD1600
I hope no one is defragging a SSD or flash-based mediums...
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Defragmenting is highly overrated anyway. The time you have spent trying the different defrag programs and otherwise tinkering to achieve what you want will never be regained by the minimal performance increase you may gain.


Unless you can post at least four paragraphs citing your sources, this is nothing more than conjecture.


Depending on how fragmented a HDD may be, it can and will have an adverse reaction to hard drive seek times, therefore expediently decreasing the read speed of the head.

In one example, back in the day using flight simulation software, fragmentation could be a major factor due to the Sim pulling its data from the HDD for terrain. During the course of flight there may be many hundreds if not thousands of seeks to retrieve the data for the terrain you're flying over. This could be even more complicated if you have third-party satellite data and other terrain enhancing add-ons to perhaps enhance town and city landscapes. When flight simulators were used in the days of platter hard drives, you'd want to keep HDD fragmentation to a minimum in an effort to increase performance. Otherwise as you fly along you'll notice the terrain below load at a slower rate then what would be desirable and negating that "as real as it gets" experience.

Now today with flash-based mediums, fragmentation is a thing of the past. But if a user is writing and reading from a platter at a considerable level over the course of time, and the program or application is dependent on high throughput seek time, then defragmentation would be warranted. This may be true for a computer whose sole function is as a HTPC, CCTV storage, or as a web server of sorts. Whether it be for a website or as an email server. Lower seek times, higher latency requests or jerking video, etc.

By in large Windows will clear up the fragmentation, but other programs might have better algorithms to do it that much better. In order to know how each program fares would require a manufacture's tool or something to see the real data spread on the HDD.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Back in my XP days I was a HDD speed nut to the point I averaged all the data files on my HDD by size and picked a cluster size that best matched my data's size for that much better read and write speed. I even utilized the SATA I connectors in my Dell Dimension 4600 for better throughput.

I upgraded everything in that computer except the motherboard. Hard drives, GPU, PSU, CPU, RAM and a 5.1 Creative sound card for my surround sound that I still use to this day. It was my little workhorse and it ran Call Of Duty Modern Warfare quite well in about circa 2008. Some of the mods were really taxing my CPU though. The CPU was the highest speed I could use on the motherboard at about 3.0 GHZ. It was a Pentium 4 Northwood CPU. I still have it to this day.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Back
Top