Operating System - Linux
1745823 Members
4037 Online
108722 Solutions
New Discussion юеВ

autofs mount points hang while nfs works

 
skt_skt
Honored Contributor

autofs mount points hang while nfs works

Red Hat Enterprise Linux AS release 4 (Nahant Update 5)

Linux hecdl1p.xxx.yyyyy.com 2.6.9-67.0.1.ELsmp #1 SMP Fri Nov 30 11:51:05 EST 2007 i686 i686 i386 GNU/Linux

autofs-4.1.3-199.3
nfs-utils-1.0.6-80.EL4
nfs-utils-lib-1.0.6-8

autofs client reports

Sep 8 15:37:59 hecdl1p kernel: nfs: server infl1p.xxxx.yyyyy.com not responding, still trying
Sep 8 19:43:42 hecdl1p kernel: nfs_statfs: statfs error = 512

the NFS mount point is not effected .Only the autofs are affected and they hang and not able to even ll/ls.

is there is a difference in the way nfs & autofs works so that autofs is getting hung when tried to mount from a remote source. Tried configuring a local autofs from the client itself with local CD drive and it gets mounted properly throgh autofs.

2 REPLIES 2
Ollie Rowland
Frequent Advisor

Re: autofs mount points hang while nfs works

Hi,

Could you provide the contents of /etc/rc.config.d/nfsconf ?
skt_skt
Honored Contributor

Re: autofs mount points hang while nfs works

NOT hp-ux


here is what i have for autofs which is similar to working node

# cat /etc/sysconfig/autofs
# Define custom options in /etc/sysconfig/autofs
# Use LOCALOPTIONS for defining variables, e.g. OSREL
# Use DAEMONOPTIONS to define the unmount timeout
# Define UNDERSCORETODOT as 1 to convert
# auto_home to auto.home and auto_mnt to auto.mnt
# Mount options, e.g. rsize=8192, should go in auto.master or
# the auto_* map entry for a specific mount point
#
LOCALOPTIONS=""
DAEMONOPTIONS="--timeout=60"
LDAPAUTOMASTER=""
# UNDERSCORETODOT changes auto_home to auto.home and auto_mnt to auto.mnt
UNDERSCORETODOT=1
DISABLE_DIRECT=1
# Only source one master map if set to 1. This would mimic Sun behaviour.
# The default is 0 to maintain backwards compatibility.
ONE_AUTO_MASTER=0
# List of directories to be ghosted, separated by white space.
GHOSTDIRS=""
# Base DN to use when searching for the master map
BASEDN=
# The ldap module was updated to only try the first schema that works
# (instead of trying all 3 autofs schemas for each lookup). It is
# possible, though unlikely, that this could cause problems. If you update
# the automounter and find that your ldap schemas doesn't work as it did
# previously, try setting this option to 1. Please also report the problem,
# as it is likely that your schema is incompatible with autofs v5.
OLD_LDAP_LOOKUP=0