LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 12-11-2012, 10:36 AM   #1
manoj.linux
Member
 
Registered: Aug 2007
Posts: 227

Rep: Reputation: 15
Question finding nfs clients connected to nfs server


Hi,

I would like to what is command which will display nfs clients connect to nfs server?
 
Old 12-11-2012, 02:45 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , Solaris 10, RHEL
Posts: 1,935
Blog Entries: 1

Rep: Reputation: 188Reputation: 188
On what OS?


Usually you can do...

Code:
showmount -a
 
Old 12-11-2012, 10:00 PM   #3
manoj.linux
Member
 
Registered: Aug 2007
Posts: 227

Original Poster
Rep: Reputation: 15
Thanks Custangro.
 
Old 12-12-2012, 05:38 AM   #4
bala.linuxtech
Member
 
Registered: Nov 2012
Location: Bangalore
Distribution: RHEL and Centos
Posts: 80

Rep: Reputation: Disabled
Quote:
Originally Posted by manoj.linux View Post
Hi,

I would like to what is command which will display nfs clients connect to nfs server?
Hi manoj

use #nfsstat command..

It will displays all statistics about NFS ..

Hope it will helps you

Bala.Linuxtech
 
Old 03-19-2014, 03:42 PM   #5
ramanarora
LQ Newbie
 
Registered: Mar 2012
Posts: 6

Rep: Reputation: Disabled
Hello custangro, manoj and bala.linuxtech...

"showmount -a" won't hold true every time, specially in case of NFSv4 since NFSv4 has stopped using rpc.mountd daemon. rpc.mountd is the one which puts in the information regarding the mounts in "/var/lib/nfs/rmtab" (in case of fedora and rhel) and showmount uses "/var/lib/nfs/rmtab" to fetch it's output.

"netstat -an | grep <nfs-server-ip>:2049"

The above netstat command will also not help in this case as the nfs clients which haven't been active for sometime won't be shown in the netstat output.

I am still looking for the alternative for this.. if you guys find anything, do post it here
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[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
NFS: Ubuntu (server) and Mac OS X (clients) macskeeball Linux - Networking 10 03-17-2008 05:38 AM
Setup NFS server to install OS to clients. hocheetiong Linux - Newbie 1 08-26-2007 10:05 PM
Linux clients, Solaris NFS server wiskic10_4 Linux - Networking 5 07-05-2006 01:56 AM
How Many Nfs Clients Can One Server Supports ? suba123 Linux - Networking 1 03-21-2006 07:11 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration