This post is more than 5 years old
5 Posts
1
757
June 2nd, 2010 11:00
NFS - servers that have an nfs mount
Hi All,
Is there a command on the celerra that can list what servers currently have an nfs export actively mounted? Im not looking for servers that may have permission to mount an export. I am looking for what currently has it mounted.
Any help is appreciated.
Thanks!
No Events found!
dynamox
9 Legend
•
20.4K Posts
0
June 2nd, 2010 11:00
not sure if that will give you exactly what you are asking but could narrow down your query
server_netstat server_4 | grep nfs
dipasqualeg
5 Posts
0
June 2nd, 2010 11:00
You rock! Yep, thats what i needed.
Rainer_EMC
4 Operator
•
8.6K Posts
0
June 2nd, 2010 16:00
to be sure you should also cross-reference with showmount ( -m I think)
NFS clients are free to drop the tcp connection because of inactivity or resource shortage while the mount is still valid (tcp conn gets re-established transparently)
they could also use udp where there is no connection
Rainer
IanSchorr
117 Posts
0
June 2nd, 2010 17:00
Yeah, this can be a tricky thing to figure out.
Most NFS clients will disconnect TCP connections after an NFS share is idle for a relatively short amount of time (rarely more than 5 minutes, but rarely less than 1). They disconnect on idle, not necessarily when they need the resources.
So the server_netstat info will tend to show you the number of clients that are actively using NFS, and that may be what you really want. But it WON'T give you a comprehensive listing of all the hosts that have NFS exports mounted, or tell you which exports they're accessing.
dynamox
9 Legend
•
20.4K Posts
0
June 2nd, 2010 20:00
is it possible to run a tcpdump on datamover and capture say 15 minutes of traffic. Open it in wireshark and look of NFS protocol chatter ..even if the server is not actively using the export ?