Simply cannot get Glances in docker to monitor nfs mount #3121
Unanswered
DeltaTangoLima
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Try this:
Or:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone discovered any particular trick to getting Glances to see nfs mounts inside a docker container, please?
Initially I tried mounting the nfs share on the host (using autofs) and using a bind mount in my compose file. Then I tried using an external docker volume to mount the nfs share directly inside the container, again mounting it via the compose file.
In both cases, I'm mounting on
/mnt/nfsshare
inside the container, but Glances doesn't see it. It sees a USB SSD drive from the host that's mounted on/mnt/usbdrive
just fine. If I rundf -h
inside the container, it sees the nfs share mounted where expected, with fs typenfs
, but no combination of config options is making Glances show it.Relevant
glances.conf
snip:Am I missing a magical incantation somewhere?
Thanks in advance.
EDIT: I should add that I've used the
-d
flag to get extra debug output, but there's nothing relevant being logged.Beta Was this translation helpful? Give feedback.
All reactions