1834462 Members
2919 Online
110067 Solutions
New Discussion

automount 10.20

 
Michael Cline_1
Occasional Advisor

automount 10.20

We are trying to kill our automount (without using kill -9), but when we do the mount command hangs. Is there a command to stop automount and then link /home directory on the client to /home on the server?

Thanks-
Kevin
5 REPLIES 5
Juan M Leon
Trusted Contributor

Re: automount 10.20

have you tried fuser -k this command will check which process is using the filesystem and then kill it
Michael Cline_1
Occasional Advisor

Re: automount 10.20

Juan-
we tried 'fuser -k /home' and gave us the same return as fuser. No one is using /home so we just want to kill automount. Will 'fuser -k' by itself kill automount?
Mel Burslan
Honored Contributor

Re: automount 10.20

This might be a bit of bad news for you but automounter on 10.20 had major problems when I was working with it 7-8 years back and I am not sure if they got resolved. What I am hearing nowadays on 11i is, staying away from automounter and using autofs instead. So I am under the impression that, there still are some issues.

Unfortunately, if you can not kill automunter with either "fuser -k" or "kill -9" commands, you know what the solution is: Reboot the box. Sorry...
________________________________
UNIX because I majored in cryptology...
Kent Ostby
Honored Contributor

Re: automount 10.20

There were some problems on 10.20 with fuser.

Make sure you are patched.

PHKL_10802 for series 800
PHKL_10801 for series 700
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Cesare Salvioni
Trusted Contributor

Re: automount 10.20

hi
automount not dying is bad news !!

The old automount exit ONLY if it can umount all the file system it mounted. If it doesn't die when you kill it you only have to wait and try to kill (eventually with -9) the process that are using the autmounted file system. As soon as the FS are free they'll get umounted and automount exit.
BUT
if you don't wait for it to exit and try to
kill -9 OR start another aumount you're dead: no way to get out, only solution is to reboot the host.
You could try to umount manually the FS and then send a signal (don't remeber exactly, could be SIGHUP, kill -1) to automount to make it reload the mount table but usually it doesn't work.
Better to use the new autofs BUT only on patched HPUX 11.11, before the new autofs was full of bugs.

Basically you have to handle the old one VERY carefully !!!

hope it helps