Sponsored Content
Operating Systems Linux Red Hat Error restarting autofs in RedHat Post 302458492 by regmaster on Friday 1st of October 2010 02:34:17 AM
Old 10-01-2010
Error restarting autofs in RedHat

Hi Expert,

I am trying to restart automount as it's consume much CPU.

Tasks: 2392 total, 7 running, 2352 sleeping, 25 stopped, 8 zombie Cpu(s): 9.3% us, 28.5% sy, 0.0% ni, 61.5% id, 0.2% wa, 0.2% hi, 0.2% si Mem: 15799928k total, 11029764k used, 4770164k free, 162424k buffers Swap: 22773752k total, 7303680k used, 15470072k free, 2628508k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5939 root 25 0 27112 1556 952 S 97.2 0.0 3155:01 automount

when I restart autofs, I got error

Stopping automount:umount2:
Device or resource busy umount: /proj: device is busy umount2:
Device or resource busy umount: /tool: device is busy

[FAILED]

Starting automount:
/tool: mount failed! failed to load map: /usr/sbin/automount --timeout=300 /tool yp auto.tool -DOS=k26_g23_64 tcp,rsize=32768,wsize=32768,timeo=600,retrans=2
/proj: mount failed! failed to load map: /usr/sbin/automount --timeout=300 /proj yp auto.proj -DOS=k26_g23_64 tcp,rsize=32768,wsize=32768,timeo=600,retrans=2 /home: mount failed!

ps -ef | grep automount | egrep -v grep

root 5885 1 0 Sep13 ? 00:02:11 /usr/sbin/automount --timeout=300 /tool yp auto.tool -DOS=k26_g23_64 tcp,rsize=32768,wsize=32768,timeo=600,retrans=2
root 5939 1 12 Sep13 ? 2-04:45:46 /usr/sbin/automount --timeout=300 /proj yp auto.proj -DOS=k26_g23_64 tcp,rsize=32768,wsize=32768,timeo=600,retrans=2

Your assistance in this matter is very much appreciated. Thx.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

RedHat autofs

hello all, I have a problem that just seem to show up. I was using autofs to mount home directory. It was working for about two week and now is just tsop working. I rebooted the erver and still not working. I can manually mount the directory but unable to mount via autofs. From the client I... (0 Replies)
Discussion started by: larryase
0 Replies

2. AIX

Autofs

Hi Guys, Autofs works fine on AIX 5.2, but the same thing is not getting mounted automatically on AIX 5.3.. Is there ant difference for autofs confiiguration between 5.2 and 5.3 Thanks & Regards Manu (0 Replies)
Discussion started by: b_manu78
0 Replies

3. Solaris

autofs vs nfs

I've a sun server, 3 sun workstations and plan to do backup on certain directory in each workstations monthly. As it's only require to mount as NFS on those workstations once a month. So I plan to configure such requirement using autofs. What are the considerations need to take care in such... (4 Replies)
Discussion started by: KhawHL
4 Replies

4. Solaris

autofs

hi tell me difference between direct automount and indirect automount. thanks you (1 Reply)
Discussion started by: sijocg
1 Replies

5. Red Hat

autofs error

Hi Friends, I am trying to configure autofs on rhel5.3 64bit to automount the nfs shares. It was working fine when i configured it first. After some days i can see its not working. i can see the below sepcified error on the log file. automount: rmdir_path: lstat of /NFS/test failed... (2 Replies)
Discussion started by: arumon
2 Replies

6. Solaris

Autofs

what are all the advantages of direct map and indirect map in 'AUTOFS' and which one is better for our usage (2 Replies)
Discussion started by: dinu
2 Replies

7. Red Hat

NFS, AD, AutoFS

Here's my challenge. I have a RedHat7 machine running a statistical software package. It needs to NFS-mount directories from a Windows 2008R2 machine. The RH7 machine uses MSAD (Microsoft Active Directory) to handle authentication of people connecting via SSH. AD is on a separate 2008R2 machine.... (5 Replies)
Discussion started by: cjhilinski
5 Replies

8. Solaris

Autofs not mount

Hi all, Please help! After my solaris 10 is rebooted, I found my autofs seems not mounting the file systems. I restart autofs service : #svcadm -v restart svc:/system/filesystem/autofs:default Action restart set for svc:/system/filesystem/autofs:default. But still... (1 Reply)
Discussion started by: Zaiwen Gong
1 Replies

9. Fedora

Autofs problem

Hi all, I'm having trouble getting autofs working on a new install of Scientific Linux 7.2. I have the files /etc/auto.master, /etc/auto/homes and /etc/auto.misc and /auto.direct setup, and they are copies of files on a working SL 6 machine. I can include the contents of the files at the end... (0 Replies)
Discussion started by: HuntWilliamR
0 Replies

10. Red Hat

Process with S state(Interruptable) in RHEL and gives Advertise error after restarting/Killing the p

Hello, In our Production system one process is in S state(interruptible)and after killing and restarting the process gives 'advertise error'. This error goes after rebooting the Server. I have RHEL 5.9 (tikanga) OS in our server. We tried debugging the issue with the help of 'strace' command... (9 Replies)
Discussion started by: Rohits
9 Replies
AUTOFS(8)						      System Manager's Manual							 AUTOFS(8)

NAME
/etc/init.d/autofs - Control Script for automounter SYNOPSIS
/etc/init.d/autofs start|stop|restart|reload|status DESCRIPTION
autofs control the operation of the automount(8) daemons running on the Linux system. Usually autofs is invoked at system boot time with the start parameter and at shutdown time with the stop parameter. The autofs script can also manually be invoked by the system administra- tor to shut down, restart or reload the automounters. OPERATION
autofs will consult a configuration file /etc/auto.master (see auto.master(5)) by default to find mount points on the system. For each of those mount points automount(8) will mount and start a thread, with the appropriate parameters, to manage the mount point. /etc/init.d/autofs reload will check the current auto.master map against running daemons. It will kill those daemons whose entries have changed and then start daemons for new or changed entries. If a map is modified then the change will become effective immediately. If the auto.master map is modified then the autofs script must be rerun to activate the changes. /etc/init.d/autofs status will display the status of, automount(8), running or not. SEE ALSO
automount(8), autofs(5), auto.master(5). autofs_ldap_auth.conf(5) AUTHOR
This manual page was written by Christoph Lameter <chris@waterf.org>, for the Debian GNU/Linux system. Edited by H. Peter Anvin <hpa@transmeta.com>. 9 Sep 1997 AUTOFS(8)
All times are GMT -4. The time now is 09:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy