[ceph-users] get cephfs mounting clients' infomation

Zhenshi Zhou deaderzzs at gmail.com
Sun Nov 18 23:07:03 PST 2018

Many thanks Yan!

This command can get IP, hostname, mounting point and kernel version. All
of these data are exactly what I need.
Besides, is there a way I can get the sub directory's usage other than the
cephfs usage from the server. For instance, I have /docker, /kvm, /backup,
I wanna know how much space is taken up by each of them.


Yan, Zheng <ukernel at gmail.com> 于2018年11月19日周一 下午2:50写道:

> 'ceph daemon mds.xx session ls'
> On Mon, Nov 19, 2018 at 2:40 PM Zhenshi Zhou <deaderzzs at gmail.com> wrote:
> >
> > Hi,
> >
> > I have a cluster providing cephfs and it looks well. But as times
> > goes by, more and more clients use it. I wanna write a script
> > for getting the clients' informations so that I can keep everything
> > in good order.
> >
> > I google a lot but dont find any solution which I can get clients
> > information. Is there a way for me to get statistics, such as clients'
> > IP or mounting point and etc, so that I can deal with it.
> >
> > Thanks.
> > _______________________________________________
> > ceph-users mailing list
> > ceph-users at lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20181119/363468ec/attachment.html>

More information about the ceph-users mailing list