A linux client mounts a Windows share resolved by FQDN configured in
/etc/fstab like this:
//fqdn.windows.share/theShare /local/mount/point cifs [...]
Due to infrastructure changes the IP address of the share has changed.
I expected the locally mounted share to resolve the IP address at access time, but it doesn't. The attempt to list the contents of the local resource like
ls -lah /local/mount/point
fails due to connection problems (sorry, can't reproduce the error message).
Now I wanted to list the currently used ip address of the mounted share, but I couldn't figure out how to do. So the question is
How do I list the currently used IP address of an already mounted CIFS share (... or details of active mount point containing the IP address)?
findmnt or inspecting
/proc/mounts didn't help (did I miss an option?).
To be clear: I don't want to query the currently active IP address of the share, which I can query from DNS at any time. Even there is no problem while remounting the share using the new IP address.