[lustre-discuss] How to find out what the OSS interacts with the Lustre client at a given time ?

Raj rajgautam at gmail.com
Sat Apr 15 07:34:50 PDT 2017


I prefer to pull them from server side by:

On OSS:
 /proc/fs/lustre/obdfilter/*/exports/CLIENT_IP at FABRIC/stat
snapshot_time             1492265908.551519 secs.usecs
read_bytes                21575 samples [bytes] 458752 1048576 22621818880
statfs                    1 samples [reqs]
preprw                    21575 samples [reqs]
commitrw                  21575 samples [reqs]
ping                      1 samples [reqs]

You can clear the stat (echo clear > stat) and then read at sample
intervals.

Same on MDS node:
/proc/fs/lustre/mdt/*/exports/CLIENT_IP at FABRIC/stat
snapshot_time             1492266510.531256 secs.usecs
open                      3 samples [reqs]
close                     1 samples [reqs]
unlink                    1 samples [reqs]
getattr                   3 samples [reqs]

Thanks
_Raj

On Sat, Apr 15, 2017 at 5:46 AM Black.S <Black.S52 at yandex.ru> wrote:

> How to find out what the OSS interacts with the Lustre client at a given
> time?
> Maybe it know from /proc/fs/lustre the lustre client or something else ?
>
> Is it possible to obtain such statistics from MDS, OSS or from a lustre
> client host ?
>
> thanks for you time
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20170415/f20a4387/attachment.htm>


More information about the lustre-discuss mailing list