I have a large, mirrored, thinly provisioned space spread across multiple hard drives using Windows Storage Spaces in Windows 10 Pro. The space is about 4TB (8TB with resiliency).
I have recently come to the opinion that there is a large number of files that I would like to reallocate to another, less resilient volume (just a simple volume).
So, I have created the new volume, moved over about 400GB of these files (there are about 1.2TB all together), and I can see that the amount of space used by the new volume has increased, but the amount of space used in the previous volume has not dropped.
I have run the
defrag utility on the space, and have run the following powershell commands:
Optimize-StoragePool -FriendlyName "Storage Pool"
Optimize-Volume X -ReTrim -SlabConsolidate
but the amount of space used by the old space holds steady. It spends a lot of time
Enumerating Slabs, but when it comes to doing stuff, it doesn't really do anything. I have run both of these as the local user AND as administrator.
Any ideas on why the previous slabs are not being cleared up?
I have just run
Optimize-Volume with the
-Verbose switch, and I got this result.
Slab Consolidation: VERBOSE: Space efficiency = 97% VERBOSE: Potential purgable slabs = 94 VERBOSE: Slabs pinned unmovable = 94 VERBOSE: Successfully purged slabs = 0 VERBOSE: Recovered space = 0 bytes
The issue appears to originate from the line
Slabs pinned unmovable. Can anyone enlighten as to what makes a slab "unmovable".