Reclaim CephFS Capacity Through Pool Tiering + Migration
summary
A Python-based migration script converts CephFS files from replica3→ec63 one file at a time, setting directory file layouts to direct new writes to erasure-coded pools and avoiding large scratch space. It runs multi-threaded (15 workers in the demo), achieves about 12–15 TB/hour on a single client, skips tiny files (<500 KB) and multiply-linked files by default, reuses EC profiles/CRUSH rules, is idempotent, and yields roughly ~44% raw storage reduction in the reported run.
AI-written summary · about
