LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-30-2010, 10:17 AM   #1
recomboDNA
LQ Newbie
 
Registered: Jun 2008
Distribution: Arch
Posts: 13

Rep: Reputation: 1
Question is there a way to monitor NFS mounts?


Let's say I have a machine exporting 3 paths via NFS.

Code:
/exports/foo
/exports/bar
/exports/bla
I would like to know if there is a way to determine how many clients have each export mounted at any given time. I don't necessarily need to identify which client has mounted what, just the number.

Code:
/exports/foo is mounted by 3 clients
/exports/bar is mounted by 1 client
/exports/bla is mounted by 0 clients
Is this even possible?
 
Old 07-30-2010, 10:51 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Code:
/var/lib/nfs/rmtab
This file contains a list of file systems actually mounted by clients at the moment.

HTH
 
Old 07-30-2010, 10:55 AM   #3
recomboDNA
LQ Newbie
 
Registered: Jun 2008
Distribution: Arch
Posts: 13

Original Poster
Rep: Reputation: 1
Thumbs up

Also found that

Code:
# showmount -a
does the same thing.
 
  


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
NFS Mounts : /etc/fstab questions kryon Linux - Server 1 03-20-2009 02:59 AM
Limiting Access to NFS mounts kaplan71 Linux - Networking 6 03-29-2008 06:11 AM
Export nested mounts through NFS sleepylight Linux - Server 1 07-22-2007 12:40 PM
Backgrounding NFS mounts kaplan71 Linux - Networking 1 05-18-2005 04:50 PM
cannot get nfs mounts to work iggymac Linux - Networking 0 08-10-2001 01:58 PM


All times are GMT -5. The time now is 10:38 AM.

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