Re: rbd cp versus deep cp?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx/thread/3CLRRBX25OGO7ZJYL34Y5WZ6U4OZBUG2/


Zitat von Jan Kasprzak <kas@xxxxxxxxxx>:

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@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx


_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux