doyston
asked on
automount slow
Hi
I'm using 3 Redhat6.0 boxes, which have been running happily for a couple of years. One box is an NIS server, and all three machines cross-mount drives via NFS using an automounter. However, in the last couple of days the automount performance has degraded. Sometimes automounting is very slow (10 to 20 seconds), and occasionally it times out and fails. Once automounting has taken place disk performance is normal.
The /etc/auto.master file from one of the machines is:
# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(8).
#/misc /etc/auto.misc --timeout 60
/import /etc/auto.misc --timeout 60
and the /etc/auto.misc file is:
$Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
#auton
auton_data -rw,rsize=8192,wsize=8192 auton:/auton_data
auton_user -rw,rsize=8192,wsize=8192 auton:/auton_user
#lydat
lydat_data -rw,rsize=8192,wsize=8192 lydat:/lydat_data
lydat_user -rw,rsize=8192,wsize=8192 lydat:/lydat_user
Neither of these files have been altered in the last few days. ping is not detecting any network problems or lost packets. Any clues??
Many thanks
Doyston
I'm using 3 Redhat6.0 boxes, which have been running happily for a couple of years. One box is an NIS server, and all three machines cross-mount drives via NFS using an automounter. However, in the last couple of days the automount performance has degraded. Sometimes automounting is very slow (10 to 20 seconds), and occasionally it times out and fails. Once automounting has taken place disk performance is normal.
The /etc/auto.master file from one of the machines is:
# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(8).
#/misc /etc/auto.misc --timeout 60
/import /etc/auto.misc --timeout 60
and the /etc/auto.misc file is:
$Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
#auton
auton_data -rw,rsize=8192,wsize=8192 auton:/auton_data
auton_user -rw,rsize=8192,wsize=8192 auton:/auton_user
#lydat
lydat_data -rw,rsize=8192,wsize=8192 lydat:/lydat_data
lydat_user -rw,rsize=8192,wsize=8192 lydat:/lydat_user
Neither of these files have been altered in the last few days. ping is not detecting any network problems or lost packets. Any clues??
Many thanks
Doyston
are all machines using the same version of mount and nfsd?
ASKER
Yes, same version on all machines. Below is the output from nfsstat for one of the machines. I am not familiar with interpreting nfsstat output, but there are errors in several fields, especially client/server nfs lookup.
Server rpc stats:
calls badcalls badauth badclnt xdrcall
1664974 0 0 0 0
Server nfs v2:
null getattr setattr root lookup readlink
0 0% 26104 1% 19596 1% 0 0% 296352 17% 89419 5%
read wrcache write create remove rename
64183 3% 0 0% 927165 55% 69706 4% 26987 1% 61947 3%
link symlink mkdir rmdir readdir fsstat
43 0% 1 0% 146 0% 145 0% 2799 0% 80381 4%
Client rpc stats:
calls retrans authrefrsh
1664974 0 0
Client nfs v2:
null getattr setattr root lookup readlink
0 0% 66 0% 2440 6% 0 0% 29125 73% 0 0%
read wrcache write create remove rename
3126 7% 0 0% 4882 12% 2 0% 1 0% 0 0%
link symlink mkdir rmdir readdir fsstat
0 0% 0 0% 0 0% 0 0% 41 0% 1 0%
Server rpc stats:
calls badcalls badauth badclnt xdrcall
1664974 0 0 0 0
Server nfs v2:
null getattr setattr root lookup readlink
0 0% 26104 1% 19596 1% 0 0% 296352 17% 89419 5%
read wrcache write create remove rename
64183 3% 0 0% 927165 55% 69706 4% 26987 1% 61947 3%
link symlink mkdir rmdir readdir fsstat
43 0% 1 0% 146 0% 145 0% 2799 0% 80381 4%
Client rpc stats:
calls retrans authrefrsh
1664974 0 0
Client nfs v2:
null getattr setattr root lookup readlink
0 0% 66 0% 2440 6% 0 0% 29125 73% 0 0%
read wrcache write create remove rename
3126 7% 0 0% 4882 12% 2 0% 1 0% 0 0%
link symlink mkdir rmdir readdir fsstat
0 0% 0 0% 0 0% 0 0% 41 0% 1 0%
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
There are a couple of errors picked up on two of the machines with ifconfig, though no dropped values, so I'll investigate the network.
Thanks
Thanks
let me know if the NICs caused the problem, I need to update my problem counter then ;-)