Operating System - HP-UX
1820248 Members
2814 Online
109622 Solutions
New Discussion юеВ

Automounter: Running using /etc/auto_master

 
Porthos
Occasional Contributor

Automounter: Running using /etc/auto_master

Hi, i need stop the auto_mount in the server, but i can't, then i execute kill to process ID and no stop, the process still running:

# ps -ef|grep auto
root 704 1 0 Sep 5 ? 0:02 /usr/lib/netsvc/fs/automount/automount -f /etc/auto_master

# kill -9 704
# ps -ef|grep auto
root 704 1 0 Sep 5 ? 0:02 /usr/lib/netsvc/fs/automount/automount -f /etc/auto_master


What i need to do?, reboot?
I tryed stop using SAM and the problem continue.

Help please.

Regards.
5 REPLIES 5
Tim Nelson
Honored Contributor

Re: Automounter: Running using /etc/auto_master

If this relates to your other thread about a hung "ll" in / then your automounter is hung. Reboot.

IMHO, do NOT use automounter.
Porthos
Occasional Contributor

Re: Automounter: Running using /etc/auto_master

Tim, this is my nfsconf file, is correcto the configuration?

# more nfsconf
#********************** NFSCONF ******************************

# NFS configuration. See nfsd(1m), mount(1m), pcnfsd(1m)
#
# @(#)B.11.11_LR
#
# NFS_CLIENT: 1 if this node is an NFS client, 0 if not
# NFS_SERVER: 1 if this node is an NFS server, 0 if not
# Note: it is possible for one host to be a client, a server,
# both or neither! This system is an NFS client if you will
# be NFS mounting remote file systems; this system is a server
# if you will be exporting file systems to remote hosts.
# See Also: nfsd(1M), mount(1M).
# NUM_NFSD: Number of NFS deamons (nfsd) to start on an NFS server. Four
# has been chosen as optimal.
# NUM_NFSIOD: Number of NFS BIO daemons (biod) to start on an NFS client.
# Four has been chosen as optimal.
# PCNFS_SERVER: 1 if this node is a server for PC-NFS requests. This
# variable controls the startup of the pcnfsd(1M) server.
# See Also: pcnfsd(1M).
#
NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=16
NUM_NFSIOD=16
PCNFS_SERVER=0
# export feature does not work in this file since files are being
# sourced into another file rc.config and this file is being sourced
# into the startup scripts.

#
# DAEMON OPTIONS
#
# LOCKD_OPTIONS: options to be passed to rpc.lockd when it is started.
# STATD_OPTIONS: options to be passed to rpc.statd when it is started.
# MOUNTD_OPTIONS: options to be passed to rpc.mountd when it is started.
#
LOCKD_OPTIONS=""
STATD_OPTIONS=""
MOUNTD_OPTIONS=""
#
# automount configuration
#
# AUTOMOUNT = 0 Do not start automount
# AUTOMOUNT = 1 Start Automount.
# AUTO_MASTER = filename of the master file passed to automount
# AUTO_OPTIONS = options passed to automount
#
AUTOMOUNT=0
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"
#
# rpc.mountd configuration. See mountd(1m)
#
# START_MOUNTD: 1 if rpc.mountd should be started by a system startup script.
# 0 if /etc/inetd.conf has an entry for mountd.
# Note: rpc.mountd should be started from a system startup script,
# however, it can be started from either nfs.server or inetd, and
# MUST only be configured in one place.
#
START_MOUNTD=1
#
#autofs configuration. See autofs(1m)
#
#For the 11.0 Release line both AUTOFS and the old Automount
#are delivered. In order to invoke the AUTOFS instead of
#you must set the AUTOFS flag to 1.
#
#/usr/sbin/automount is now a script that sources in this file
#Depending on the variable AUTOFS, either AUTOFS or the old
#automount process will execute. The nfs.client start script
#will also use this variable to start the appropriate process
#during the boot sequence.
#AUTOFS= 0 - use the old automount process.
# 1 - use the new AutoFS.
#AUTOMOUNT_OPTIONS= - options to the AutoFS automount command
#AUTOMOUNTD_OPTIONS= - options to the AutoFS automountd daemon
#
#The AUTOMOUNT flag still needs to be set for either the old
#automount or new AutoFS to be started by the nfs.client script.
#
AUTOFS=0
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""
#
James R. Ferguson
Acclaimed Contributor

Re: Automounter: Running using /etc/auto_master

Hi:

If this relates to your other thread, you should post this there!

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1275765

As you will note from my comment therein, I thought that you might hava an NFS mountpoint that was hung. Apparently you do.

If a 'kill -9' doesn't stop a process it's because the process is waiting on a higher priority, kernel event. Usually this is an I/O that hasn't completed. Unfortunately, when a 'kill -9' doesn't work and you have run out of patience, a reboot is your next choice.

Regards!

...JRF...

Dennis Handly
Acclaimed Contributor

Re: Automounter: Running using /etc/auto_master

>Tim: IMHO, do NOT use automounter.

Dave suggests you use the enhanced autofs.
/usr/lib/netsvc/fs/enh_autofs/automountd
Porthos
Occasional Contributor

Re: Automounter: Running using /etc/auto_master

Ok, thanks, i will programate a next reboot.