"rbd diff" tells you what changed in an image since a snapshot:

rbd diff --from-snap <snapshot-name> <pool>/<image>


Paul

-- 
Paul Emmerich

Looking for help with your Ceph cluster? Contact us at https://croit.io

croit GmbH
Freseniusstr. 31h
81247 München
www.croit.io
Tel: +49 89 1896585 90

Am So., 28. Okt. 2018 um 20:38 Uhr schrieb Olivier Bonvalet
<ceph.l...@daevel.fr>:
>
> Hi,
>
> with Filestore, to estimate the weight of snapshot we use a simple find
> script on each OSD :
>
>     nice find "$OSDROOT/$OSDDIR/current/" \
>         -type f -not -name '*_head_*' -not -name '*_snapdir_*' \
>         -printf '%P\n'
>
> Then we agregate by image prefix, and obtain an estimation of each
> snapshot weight. We use this method because we never found this
> information in Ceph tools.
>
> Now with Bluestore we can't use this script anymore. Is there an other
> way to obtain this information ?
>
> I read that we can "mount" inactive OSD with "ceph-objectstore-tool",
> but I can't shutdown OSDs for this.
>
> Thanks for any help,
>
> Olivier
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to