4 ms·
I defragged a SSD partition recently. First time in MANY years I ran a defrag utility. There is still a reason to do it.. if you want to shrink a partition usin
by Sunspark 5y ago
I defragged a SSD partition recently. First time in MANY years I ran a defrag utility. There is still a reason to do it.. if you want to shrink a partition using stock utilities then you need contiguous free space.
- Someone 5y agoI don’t know whether the tools exist, but that doesn’t require defragging. It just requires moving stuff from the top occupied blocks into free space lower down. That’s less work and somewhat easier to program. There still will be edge cases where doing that increases the size of directory structures, so it’s not fully trivial.
- sumtechguy 5y agoFor windows 10 'defrag' can do this. defrag /X If I remember from the last time I used it, it is not nice about it. It may create fragments. It consolidates the free space to the end of the drive. Does not always work. Especially if the drive in question is active.
- chasil 5y agoBtrFS can actually shrink while moving impacted files. I think the target space is just rebalanced.