3 ms·
For ZFS to get defrag, someone with enough ability and knowledge would need to bite the bullet and go through the fairly massive and difficult task of adding in
by cthalupa 11y ago
For ZFS to get defrag, someone with enough ability and knowledge would need to bite the bullet and go through the fairly massive and difficult task of adding in block pointer rewrite, which doesn't seem to be something anyone has been willing to do, and I've seen a lot of concerns about the actual feasibility of it from some very smart people that are knowledgeable with the codebase.
- XorNot 11y agoWhich also incidentally would solve the pool shrinking problem as well.
- voltagex_ 11y agoI wonder how much money you'd need to pay a very talented engineer to do the work. This is yet another thing I didn't read about before building a home NAS on ZFS.
- aduitsis 11y agoMaybe off topic, but Alex Reece from Delphix had a blog post about a year ago about the ability to remove a disk from a pool. http://blog.delphix.com/alex/2015/01/15/openzfs-device-removal/ http://blog.delphix.com/alex/2015/01/15/openzfs-device-remov... This would imply some kind of rebalancing, if I understand correctly. Which maybe could be considered a form of indirect defragmentation.