da_kidd_er
07-06-2005, 12:20 AM
Hi all,
I have a RHEL4 2.6.9-5.ELsmp kernel and nfs-utils-1.0.6-46 nfs server. When a nfs client mounts the exported share, we are seeing different outputs from the command 'nfsstat' before and after running 'ls' to the exported share.
The output I received from nfsstat:
Before ls:
Server rpc stats:
calls badcalls badauth badclnt xdrcall
0 0 0 0 0
Client rpc stats:
calls retrans authrefrsh
8 0 0
Client nfs v3:
null getattr setattr lookup access readlink
0 0% 2 25% 0 0% 1 12% 1 12% 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% 3 37%
fsstat fsinfo pathconf commit
0 0% 1 12% 0 0% 0 0%
After ls: (note all the readdirs and no extra readdirpluses)
Server rpc stats:
calls badcalls badauth badclnt xdrcall
0 0 0 0 0
Client rpc stats:
calls retrans authrefrsh
12122 0 0
Client nfs v3:
null getattr setattr lookup access readlink
0 0% 4 0% 0 0% 12005 99% 3 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% 106 0% 3 0%
fsstat fsinfo pathconf commit
0 0% 1 0% 0 0% 0 0%
I would like to know if this is normal to have differences in the readdir and readdirplus before and after ls?
Thanks
I have a RHEL4 2.6.9-5.ELsmp kernel and nfs-utils-1.0.6-46 nfs server. When a nfs client mounts the exported share, we are seeing different outputs from the command 'nfsstat' before and after running 'ls' to the exported share.
The output I received from nfsstat:
Before ls:
Server rpc stats:
calls badcalls badauth badclnt xdrcall
0 0 0 0 0
Client rpc stats:
calls retrans authrefrsh
8 0 0
Client nfs v3:
null getattr setattr lookup access readlink
0 0% 2 25% 0 0% 1 12% 1 12% 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% 3 37%
fsstat fsinfo pathconf commit
0 0% 1 12% 0 0% 0 0%
After ls: (note all the readdirs and no extra readdirpluses)
Server rpc stats:
calls badcalls badauth badclnt xdrcall
0 0 0 0 0
Client rpc stats:
calls retrans authrefrsh
12122 0 0
Client nfs v3:
null getattr setattr lookup access readlink
0 0% 4 0% 0 0% 12005 99% 3 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% 106 0% 3 0%
fsstat fsinfo pathconf commit
0 0% 1 0% 0 0% 0 0%
I would like to know if this is normal to have differences in the readdir and readdirplus before and after ls?
Thanks