Hi,
Mykola explained it in this thread [1] a couple of months ago:
`rbd cp` will copy only one image snapshot (or the image head) to the
destination.
`rbd deep cp` will copy all image snapshots and the image head.
It depends on the number of snapshots that need to be copied, if there
are none you'd probably be fine with `rbd cp`.
[1]
https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/3CLRRBX25OGO7ZJYL34Y5WZ6U4OZBUG2/
Zitat von Jan Kasprzak <k...@fi.muni.cz>:
Hello, Ceph users,
what is the difference between "rbd cp" and "rbd deep cp"?
What I need to do is to make a copy of the rbd volume one of our users
inadveredly resized to a too big size, shrink the copied image to the
expected size, verify that everything is OK, and then delete the original
image. Would this work with rbd cp?
Thanks,
-Yenya
--
| Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net - private}> |
| http://www.fi.muni.cz/~kas/ GPG: 4096R/A45477D5 |
We all agree on the necessity of compromise. We just can't agree on
when it's necessary to compromise. --Larry Wall
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io