Error restarting autofs in RedHat


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Error restarting autofs in RedHat
# 1  
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.
# 2  
Old 10-01-2010
automount automatically unmounts things that are NOT in use after a time... in your case timeout=300. Looks like something was using /proj and /tool. You can use lsof to find out what process(es) is(are) using those.

With regards to "failed to load map", I'm going to guess that the yp map couldn't be found (?) for auto.tool and auto.proj.
# 3  
Old 10-08-2010
Thanks cjcox
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. Solaris

autofs

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

8. 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

9. 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

10. 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
Login or Register to Ask a Question