Re: report librbd bug export-diff

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

 



On Sun, Dec 29, 2019 at 9:21 PM zhengyin@xxxxxxxxxxxxxxxxxxxx
<zhengyin@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Hello dillaman:
>
>         Problem: create a clone from a parent image, create a snapshot on the clone, when I use command "rbd export-diff <pool>/clone@snap <file> --whole-object", it can't diff  parent image data. But I use this command without "--whole-object", it is ok.
>
>         steps:
>                  1、rbd create volumes/test1 -s 1G
>
>                  2、write data to volumes/test1 (offset=0, len=8388608)
>
>                  3、rbd snap create volumes/test1@snap
>
>                  4、rbd snap protect volumes/test1@snap
>
>                  5、rbd clone volumes/test1@snap volumes/clone1
>
>                  6、write data to volumes/clone1 (offset=16777216, len=4194304)
>
>                  7、rbd snap create volumes/clone1@snap1
>
>                  8、rbd export-diff volumes/clone1@snap1 /root/diff1 --whole-object
>                       It only diffs data [16777216L, 20971520L]
>
>                  9、rbd export-diff volumes/clone1@snap1 /root/diff2
>                       It is ok and can diffs data [0L, 8388608L], [16777216L, 20971520L]
>
>          If you confirm that this is a bug or fix it, please let me know, thank you very much.

Is this the same as this ticket [1] that was recently fixed in master
and is pending backport?

>
> ________________________________
> zhengyin@xxxxxxxxxxxxxxxxxxxx

[1] https://tracker.ceph.com/issues/42248

-- 
Jason
_______________________________________________
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