LLNL / lmt

Lustre Monitoring Tools
GNU General Public License v2.0
67 stars 21 forks source link

lustre 2.12 support #35

Closed jmjoo closed 5 years ago

jmjoo commented 5 years ago

I have trouble to execute "lmtmetric -m ost/mdt" in lustre 2.12 environment.

$ lmtmetric -m ost lmtmetric: error reading lustre failover-OST0000 uuid from proc: No such file or directory lmtmetric: ost metric: No such file or director

When I look at below issue, it might be similar cases. but I want to make sure this issue is caused by lustre version (2.12)

ofaaland commented 5 years ago

Yes, this is because lmt needs updates to support Lustre 2.12. The "uuid" file moved from /proc/fs/lustre/obdfilter//uuid to /sys/fs/lustre/obdfilter//uuid.

ofaaland commented 5 years ago

@jaemin-joo I've started work on a patch at

https://github.com/ofaaland/lmt/tree/b-lustre-212

which might make lmt work with Lustre 2.12. It passes several tests, but hasn't been through full testing yet. So I cannot guarantee it will work, but it's there if you want to try it.

ofaaland commented 5 years ago

@jaemin-joo I performed more testing and I believe the patch is good. See Pull Request #36