Visit Jeremy's Blog.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 12-11-2012, 10:36 AM   #1
Registered: Aug 2007
Posts: 283

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


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

Rep: Reputation: 209Reputation: 209Reputation: 209
On what OS?

Usually you can do...

showmount -a
Old 12-11-2012, 10:00 PM   #3
Registered: Aug 2007
Posts: 283

Original Poster
Rep: Reputation: 17
Thanks Custangro.
Old 12-12-2012, 05:38 AM   #4
Registered: Nov 2012
Location: Bangalore
Distribution: RHEL and Centos
Posts: 86

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

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

Old 03-19-2014, 03:42 PM   #5
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


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 > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 05:20 PM.

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