Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

procfs-support-lustre2.12 and update test OST test date #148

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

marquis-wang
Copy link

Close #146

@wutz
Copy link
Contributor

wutz commented Aug 29, 2019

@joehandzik

@sjpb
Copy link

sjpb commented Mar 10, 2020

I get

[centos@lustre-storage ~]$ go get github.com/marquis-wang/lustre_exporter
# github.com/marquis-wang/lustre_exporter
go/src/github.com/marquis-wang/lustre_exporter/lustre_exporter.go:70:17: cannot use ch (type chan<- "github.com/marquis-wang/lustre_exporter/vendor/github.com/prometheus/client_golang/prometheus".Metric) as type chan<- "github.com/HewlettPackard/lustre_exporter/vendor/github.com/prometheus/client_golang/prometheus".Metric in argument to s.Update

This is with go version go1.14 linux/amd64

@knweiss
Copy link

knweiss commented Jul 10, 2020

Would it be possible to support both the old and the new paths so that a lustre-exporter binary would work on both types of Lustre systems?

@marquis-wang
Copy link
Author

new paths has supported in lustre version 2.10.x.
image

@wutz
Copy link
Contributor

wutz commented Nov 18, 2020

The new path /proc/fs/lustre/osd-/-OST*/kbytesfree (same as kbytesavail & kbytestotal) have been provided in lustre LTS version 2.5, 2.10 & 2.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support lustre 2.12
4 participants