Project

General

Profile

Actions

Bug #6112

closed

No nfsstats and showmount

Added by Franz Skale about 7 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
nfs - NFS server and client
Start date:
2015-08-11
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

Hi, since 2015 there seems to be a bug with nfs.
I cannot get nfssstat to work.
It only shows 0 traffic which is not true.
I have two servers and both are nfsserver and provide exports to servers which are actually working !
Neither nfsstat nor showmount work.

nfsstat (with running nfsserver and I/O)
nfsstat -c -v 3

Client rpc:
Connection oriented:
calls badcalls badxids timeouts newcreds badverfs timers
3 0 0 0 0 0 0
cantconn nomem interrupts
0 0 0
Connectionless:
calls badcalls retrans badxids timeouts newcreds badverfs
0 0 0 0 0 0 0
timers nomem cantsend
0 0 0

Client nfs:
calls badcalls clgets cltoomany
0 0 0 0
Version 3: (0 calls)
null getattr setattr lookup access readlink
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
read write create mkdir symlink mknod
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
remove rmdir rename link readdir readdirplus
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
fsstat fsinfo pathconf commit
0 0% 0 0% 0 0% 0 0%

Client nfs_acl:
Version 3: (0 calls)
null getacl setacl getxattrdir
0 0% 0 0% 0 0% 0 0%

snoop:
10.10.250.70 -> 10.10.250.1 NFS R WRITE3 OK 4096 (FSYNC)
10.10.250.1 -> 10.10.250.70 NFS C WRITE3 FH=BB43 at 7469903872 for 4096 (FSYNC)
10.10.250.70 -> 10.10.250.1 NFS R WRITE3 OK 4096 (FSYNC)

showmount: (no output, should list clients connected)
showmount -a

showmount -e
export list for nfs01:
/nfsp01 (everyone)
/nfsp01/vmware_nfs01 @10.10.0.0/16

Are the IOCTLs broken ?

nfsstat used /dev/kstat to gather information.

Perhaps these issues will be fixed in the future.

Rgds.

Franz


Files

nfsstat.truss (11.3 KB) nfsstat.truss truss of nfsstat -c -v 3 Franz Skale, 2015-08-11 08:15 AM
showmount.truss (10.9 KB) showmount.truss truss if showmount -a Franz Skale, 2015-08-11 08:15 AM
Actions

Also available in: Atom PDF