https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2012-04-16T11:24:33ZCeph Ceph - Feature #2305: Moving rbd images between poolshttps://tracker.ceph.com/issues/2305?journal_id=96062012-04-16T11:24:33ZGreg Farnumgfarnum@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Rejected</i></li></ul><p>We discovered it does work if you keep the image names the same and vary the pool names. :)</p> Ceph - Feature #2305: Moving rbd images between poolshttps://tracker.ceph.com/issues/2305?journal_id=96092012-04-16T11:33:18ZDan Mickdmick@redhat.com
<ul><li><strong>Status</strong> changed from <i>Rejected</i> to <i>12</i></li></ul><p>Not quite; copy works, but slowly (because of course it's duplicating all the data). I don't know if mv/rename could be implemented more efficient by updating pointers, but I assume it could. In any case, it should either be implemented or the error-handling and documentation fixed to say that it doesn't work across pools.</p> Ceph - Feature #2305: Moving rbd images between poolshttps://tracker.ceph.com/issues/2305?journal_id=96992012-04-18T22:53:45ZSage Weilsage@newdream.net
<ul><li><strong>translation missing: en.field_position</strong> set to <i>10</i></li></ul> Ceph - Feature #2305: Moving rbd images between poolshttps://tracker.ceph.com/issues/2305?journal_id=98672012-04-23T14:28:03ZSage Weilsage@newdream.net
<ul><li><strong>translation missing: en.field_position</strong> deleted (<del><i>34</i></del>)</li><li><strong>translation missing: en.field_position</strong> set to <i>32</i></li></ul> Ceph - Feature #2305: Moving rbd images between poolshttps://tracker.ceph.com/issues/2305?journal_id=101722012-05-12T16:15:28ZSage Weilsage@newdream.net
<ul><li><strong>Category</strong> set to <i>librbd</i></li><li><strong>Status</strong> changed from <i>12</i> to <i>Resolved</i></li><li><strong>Assignee</strong> set to <i>Dan Mick</i></li><li><strong>Target version</strong> set to <i>v0.47</i></li></ul><p><a class="changeset" title="Treat rename across pools as an error Fixes: #2370 Reviewed-by: Samuel Just <samuel.just@dreamhos..." href="https://tracker.ceph.com/projects/ceph/repository/revisions/ee26c5d73a48b64292d16a87ebe69908c142048e">ee26c5d73a48b64292d16a87ebe69908c142048e</a></p> Ceph - Feature #2305: Moving rbd images between poolshttps://tracker.ceph.com/issues/2305?journal_id=532772015-06-09T08:24:36ZJonas Keideljonas@jonas-keidel.de
<ul></ul><p>I have to reopen this topic: why is it not possible to move a rbd image to another pool?</p>
<p>The reason why I reopen this topic is that I have two racks of servers and I want to define one pool for each rack, but one cluster over all racks. And for migration I want to move one image from one pool to another.</p> Ceph - Feature #2305: Moving rbd images between poolshttps://tracker.ceph.com/issues/2305?journal_id=839542017-01-09T20:19:06ZМарк Коренбергsocketpair@gmail.com
<ul></ul><p>I move images using this command:</p>
<pre>
qemu-img convert -f raw -O raw -t unsafe -T unsafe -p rbd:prod/bck-red-konkurs3 rbd:backups/bck-red-konkurs3
</pre>
<p>It seems, this is the most effective solution for now.</p>