Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
NFS and automount drives load up

NFS and automount drives load up

2003-11-01       - By Cheryl L. Southard

 Back
Hi All,

I've got my autofs maps setup to NFS mount home directories on my
mail server.  This works fine when the clients with home directories are
up and running.  But if a NFS/automount client machine goes down, this
causes disasterous results on my mail server.  sendmail, procmail, and
spamd processes get stuck waiting to access files on these NFS
filesystems.  Or sometimes if the directory was mounted while the client
computer crashes, other processes can get stuck.  How can we tell these
processes to time out and continue without these files?

When a processes gets stuck waiting for automount and NFS to respond, it
is virtually impossible to kill that process.  And as each processes
gets stuck, the load is driven higher and higher until finally sendmail
refuses conections because the "RefuseLA" value in sendmail is reached.
Also, we cannot "umount -f <directory>" to force NFS to unmount that directory.
We also cannot kill or kill -9 the autofs processes because they refuse
to die.

Our /etc/auto.master file looks like this:
  /home   yp:auto_home    rw,nosuid,soft
Our yp auto_home file looks like this:
  client1     &:/export/home/&
  client2     &:/export/home/&

If I run the mount command, these home direcotires are mounted with these
values:
automount(pid804) on /home type autofs (rw,fd=5,pgrp=804,minproto=2,maxproto=3)
client1:/export/home/client1 on /home/client1 type nfs (rw,nosuid,soft,addr=168
.192.211.202)
client2:/export/home/client2 on /home/client2 type nfs (rw,nosuid,soft,addr=168
.192.211.142)


So does anyone know what we are doing wrong in our autofs/NFS setup?
We are running RedHat 8.0, nfs-utils-1 (See http://ils-1.ora-code.com).0.1-2.80, autofs-3 (See http://ofs-3.ora-code.com).1.7-33,
kernel-2 (See http://nel-2.ora-code.com).4.18-24.8.0, and sendmail-8 (See http://ail-8.ora-code.com).12.8-9.80.

Thanks,

Cheryl
--
Cheryl Southard
cld@(protected)