Skip to content

Conversation

@sagigrimberg
Copy link

When mounting nfs with nconnect, mountstats will show multiple transports. Currently the mountstats exporter fails to create metrics from this information due to repeated entries.

Fix this by adding transport metrics a "transport" label enumerating their order in the mountstats output.

@sagigrimberg
Copy link
Author

@discordianfish @SuperQ FYI

@sagigrimberg
Copy link
Author

@discordianfish @SuperQ ping again..... must be a sad joke...

@discordianfish
Copy link
Member

@sagigrimberg Whats the intention? Why do you need individual metrics per transport? Not familiar with nconnect

@sagigrimberg
Copy link
Author

sagigrimberg commented Nov 26, 2025

@discordianfish Sorry for the super long delay - I stopped checking this PR frequently.

The intention is to support nconnect mount option in NFS. Which creates multiple connections (transports). Currently any nconnect>1 breaks the exporter.

See: https://man7.org/linux/man-pages/man5/nfs.5.html

When mounting nfs with nconnect, mountstats will show multiple transports.
Currently the mountstats exporter fails to create metrics from this information
due to repeated entries.

Fix this by adding transport metrics a "transport" label enumerating their
order in the mountstats output.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
@sagigrimberg sagigrimberg force-pushed the sagi/fix-nfs-multi-xprt branch from 566270c to 53503f8 Compare November 30, 2025 07:16
@sagigrimberg
Copy link
Author

@discordianfish @SuperQ ping

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.

2 participants