LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2018, 09:46 AM   #1
willc86
Member
 
Registered: Dec 2014
Posts: 56

Rep: Reputation: Disabled
how do I check if my client is connected to the NFS server?


so I know how to check how many established connections are on the nfs servers,

but question is, say I have servera, serverb, serverc.

how do I check if they are connected to any of the NFS servers on our site? say we have over 30 NFS servers serverN1 serverN2...etc

can I log into servera and check if there is an established connection to a NFS server?

Last edited by willc86; 01-28-2018 at 10:39 AM.
 
Old 01-28-2018, 02:22 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I tried this:
Code:
netstat -a | grep nfs
and that produced:
Code:
tcp  0  0 donald-pc.megaline.:798 homeservII.megaline:nfs ESTABLISHED
It is correct that I have a connection to homeservII. Two shares are connected. So it does give that there is an active connection to the server, but not on the share level.

jlinkels
 
Old 01-28-2018, 02:29 PM   #3
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,805

Rep: Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204
The mount command shows the NFS mounts
Code:
mount | grep -w nfs
Another command is
Code:
nfsstat -m

Last edited by MadeInGermany; 01-28-2018 at 02:32 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
finding nfs clients connected to nfs server manoj.linux Linux - Enterprise 4 03-19-2014 03:42 PM
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
Linux NFS client <--> Leopard NFS server ACL support tplessers Linux - Networking 0 02-17-2010 04:28 AM
nfs server on ubuntu doesn't play nice with nfs client on solaris mathiraj Linux - Networking 11 09-15-2009 02:08 PM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration