3 ms·
I can't usually do that on Btrfs either. Whenever it defragments something that's COW, it makes a new copy with 1 use, and leaves all the other snapshots/refli
by Dylan16807 5y ago
I can't usually do that on Btrfs either. Whenever it defragments something that's COW, it makes a new copy with 1 use, and leaves all the other snapshots/reflinks pointing at the old copy.
- the8472 5y agoYou can defrag and then run an offline dedup to restore CoW.
- Dylan16807 5y agoCan I be reasonably sure that the dedup will pick the defragmented version?
- the8472 5y agoWell, most of dedup runs in userspace. But yes, the existing tools are good enough at it to work across snapshots.