Skip to contentSkip to conversation

NFS admin for Linux

DISCUSSION Jolly Frederic 3 participants 3 messages Apr 2, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello.

I'm going to work on adminstration tools of NFS and NFSv4 for Linux.

First of all, I'd like to know if the commands showmount and nfsstat have been updated for NFSv4? Are there people currently working on them?

Webmin seems to be the most used GUI on Linux. Do you have suggestions about others useful administrative utilities? Does anyone of you use, or plan to use CIM/WBEM?

Any ideas are welcome.

Thanks.
Frederic.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 6 lines · Jolly Frederic

Hello.

I'm going to work on adminstration tools of NFS and NFSv4 for Linux.

First of all, I'd like to know if the commands showmount and nfsstat have been updated for NFSv4? Are there people currently working on them?

Showmount isn't really needed for NFSv4: you can (and usually will) always mount "/". All the exported directories will then appear as subdirectories of this pseudofilesystem.

nfsstat does want updating though. I'm not sure if Chuck and Olaf are working on that as part of their iostat updates. Guys?

Cheers,
Trond

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw
In reply to Jolly Frederic
Quoted 3 lines · Jolly Frederic

First of all, I'd like to know if the commands showmount and nfsstat have been updated for NFSv4? Are there people currently working on them?

no... nfsstat has not been updated to use show v4 stats...

But I've recently purposed a nfs zero stats patch that does that will zero out the v2/v3 status and only prints non-zero stats which is really needed for the v4 support... imho... so you don't get screens and screens of zero stats when only one version of the protocol is being used...

Also only displaying non-zero stats will allow a realtime (top like) interface that could be used to monitoring NFS traffic... Way back when... I did something similar to another nfsstat... It actually sorted the output so you could tell (in realtime) which were the most active opts. I found it be pretty handy tool...

SteveD.

utils/nfsstat/nfsstat.man renamed from utils/nfsstat/nfsstat.man.orig +17 -0
@@ -13,6 +13,9 @@ The
 displays statistics kept about NFS client and server activity.
 .SH OPTIONS
 .TP
+.B -a
+Print all statistics.
+.TP
 .B -s
 Print only server-side statistics. The default is to print both server and
 client statistics.
@@ -49,6 +52,20 @@ total number of lookups, and the number 
 Usage information on the server's request reply cache, including the
 total number of lookups, and the number of hits and misses.
 .RE
+.TP
+.B -z
+Zeros out all or some of the statistics. Typical uses would be:
+.RS 10
+nfsstat -z  - zeros all statistics
+.br
+nfsstat -zc - zeros only client statistics
+.br
+nfsstat -zs - zeros only server statistics
+.br
+nfsstat -zr - zeros only RPC statistics
+.br
+nfsstat -zn - zeros only NFS call statistics
+.RE
 .SH EXAMPLES
 .\" --------------------- FILES ----------------------------------
 .SH FILES
utils/nfsstat/nfsstat.c renamed from utils/nfsstat/nfsstat.c.orig +105 -5

162 lines not on this page · raw message