Re: Question about writing a program that transfer snapshot diffs between ceph clusters

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

 



On 11/01/16 10:22, Peter Maloney wrote:
On 11/01/16 06:57, xxhdx1985126 wrote:
Hi, everyone.

I'm trying to write a program based on the librbd API that transfers snapshot diffs between ceph clusters without the need for a temporary storage which is required if I use the "rbd export-diff" and "rbd import-diff" pair.

You don't need a temp file for this... eg.


oops forgot the "-" in the commands.... corrected:
ssh node1 rbd export-diff rbd/blah@snap1 - | rbd import-diff - rbd/blah
ssh node1 rbd export-diff --from-snap snap1 rbd/blah@snap2 - | rbd import-diff - rbd/blah



_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[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