Re: Bluestore & snapshots weight

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

 



You can also use "rbd disk-usage <image-or-snap-spec>" to compute the
usage of a snapshot.

On Sun, Oct 28, 2018 at 4:39 PM Paul Emmerich <paul.emmerich@xxxxxxxx> wrote:
>
> "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.list@xxxxxxxxx>:
> >
> > 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@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



-- 
Jason
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux