LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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: 113Reputation: 113
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



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
Backgrounding NFS mounts kaplan71 Linux - Networking 2 02-22-2015 09:13 PM
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
cannot get nfs mounts to work iggymac Linux - Networking 0 08-10-2001 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:24 AM.

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