How to copy or migrate a Ceph pool?
Issue
Sometimes it is necessary to migrate all objects from a pool to another one, especially if it is needed to change parameters that can not be modified on pool. For example, it may be needed to migrate from a replicated pool to an EC pool, change EC profile of the pool, or to reduce the number of PGs (pg_num/pgp_num parameters of the pool).
Environment
Red Hat Ceph Storage 1.2.3
Red Hat Ceph Storage 1.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
