You can also use "rbd disk-usage " to compute the
usage of a snapshot.
On Sun, Oct 28, 2018 at 4:39 PM Paul Emmerich wrote:
>
> "rbd diff" tells you what changed in an image since a snapshot:
>
> rbd diff --from-snap /
>
>
> Paul
>
> --
> Paul Emmerich
>
> Looking for help with your Ceph cluster
"rbd diff" tells you what changed in an image since a snapshot:
rbd diff --from-snap /
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
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