Yup, on the host running librbd, you just need to enable the "admin socket" in your ceph.conf and then use "ceph --admin-daemon /path/to/image/admin/socket.asok perf dump" (i.e. not "ceph perf dump").
See the example in this tip window [1] for how to configure for a "libvirt" CephX user. [1] http://docs.ceph.com/docs/mimic/rbd/libvirt/#configuring-ceph On Wed, Jul 18, 2018 at 4:02 AM Mateusz Skala (UST, POL) < mateusz.sk...@ust-global.com> wrote: > Thanks for response. > > In ‘ceph perf dump’ there is no statistics for read/write operations on > specific RBD image, only for osd and total client operations. I need to get > statistics on one specific RBD image, to get top used images. It is > possible? > > Regards > > Mateusz > > > > *From:* Jason Dillaman [mailto:jdill...@redhat.com] > *Sent:* Tuesday, July 17, 2018 3:29 PM > *To:* Mateusz Skala (UST, POL) <mateusz.sk...@ust-global.com> > *Cc:* ceph-users <ceph-users@lists.ceph.com> > *Subject:* Re: [ceph-users] Read/write statistics per RBD image > > > > Yes, you just need to enable the "admin socket" in your ceph.conf and then > use "ceph --admin-daemon /path/to/image/admin/socket.asok perf dump". > > > > On Tue, Jul 17, 2018 at 8:53 AM Mateusz Skala (UST, POL) < > mateusz.sk...@ust-global.com> wrote: > > Hi, > > It is possible to get statistics of issued reads/writes to specific RBD > image? Best will be statistics like in /proc/diskstats in linux. > > Regards > > Mateusz > > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > > > -- > > Jason > -- Jason
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com