On Fri, 6 Jun 2014 17:34:56 -0700 Tyler Wilson <k...@linuxdigital.net> wrote:
> Hey All, > > Simple question, does 'rbd export-diff' work with children snapshot > aka; > > root:~# rbd children images/03cb46f7-64ab-4f47-bd41-e01ced45f0b4@snap > compute/2b65c0b9-51c3-4ab1-bc3c-6b734cc796b8_disk > compute/54f3b23c-facf-4a23-9eaa-9d221ddb7208_disk > compute/592065d1-264e-4f7d-8504-011c2ea3bce3_disk > compute/9ce6d6af-c4df-442c-b433-be2bb1cef9f6_disk > compute/f0714add-683a-4ba2-a6f3-ded7dbf193eb_disk > > Could I export a diff from that image snapshot vs one of the compute > disks? > > Thanks for your help! The rbd diff-related commands compare points in time of a single image. Since children are identical to their parent when they're cloned, if you created a snapshot right after it was cloned, you could export the diff between the used child and the parent. Something like: rbd clone child parent@snap rbd snap create child@base <use child image> rbd snap create child@changed rbd export-diff child@changed --from-snap base child_changes.diff Josh _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com