Re: [ceph-users] get cephfs mounting clients' infomation

2018-11-19 Thread Zhenshi Zhou
Hi Yan, I can get the usage of sub dirctory on the client side. Is there a way I can get it from the server? Thanks. Yan, Zheng 于2018年11月19日周一 下午3:08写道: > On Mon, Nov 19, 2018 at 3:06 PM Zhenshi Zhou wrote: > > > > Many thanks Yan! > > > > This command can get IP, hostname, mounting point and

Re: [ceph-users] get cephfs mounting clients' infomation

2018-11-18 Thread Yan, Zheng
On Mon, Nov 19, 2018 at 3:06 PM Zhenshi Zhou wrote: > > 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 > whole > cephfs usage from

Re: [ceph-users] get cephfs mounting clients' infomation

2018-11-18 Thread Zhenshi Zhou
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 whole cephfs usage from the server. For instance, I have /docker, /kvm, /backup, etc. I wanna

Re: [ceph-users] get cephfs mounting clients' infomation

2018-11-18 Thread Yan, Zheng
'ceph daemon mds.xx session ls' On Mon, Nov 19, 2018 at 2:40 PM Zhenshi Zhou 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 >

[ceph-users] get cephfs mounting clients' infomation

2018-11-18 Thread Zhenshi Zhou
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