What are the steps to migrate RBD images from one ceph pool to another?
Environment
- Red Hat Ceph Enterprise 1.2.3
Issue
-
Is it possible to migrate RBD images from a Ceph pool to another? If so, how?
-
How to migrate existing RBD images from one pool to another, in an Ceph cluster?
Resolution
- In order to export an RBD image from an existing pool to another one, use:
# rbd export [image-name] [dest-path]
- A similar method, but to import from another pool into an existing pool:
# rbd import [path] [dest-image]
SBR
Product(s)
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.