1827697 Members
3155 Online
109967 Solutions
New Discussion

Re: automount

 
SOLVED
Go to solution
George Liu_2
Frequent Advisor

automount

Automout only mount the remote directories to /tmp_mnt/mount_point instead of to /local_mount_point.

Also, auomount process couldn't be killed by -SIGTERM (15).

What's wrong and how to fix?
Any response is appreciated.
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor
Solution

Re: automount

George,

Automount is not that difficult to administer. Regarding your questions

1) you need to look at direct and indirect maps of Automount depending on your requirement. Check this URL

http://docs.hp.com/hpux/onlinedocs/B1031-90048/B1031-90048.html

and see the section that describes "configuring Automounter"

2) It is possible to kill automount without causing it to hang. You need to make sure that there are no mounted directories through automount. Do a bdf and unmount all nfs mounts. If you can't unmount, kill the processes that are active on these nfs mounts. You can use fuser command to find out the processes. Once it is cleared, you can use /sbin/init.d/nfs.client stop to stop the automounter.

*** Do not attempt to kill automount when there are nfs mounts through automount****

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sachin Patel
Honored Contributor

Re: automount

Hi George,
Use SIGHUP to reread maps
#kill -SIGHUP pid_of_automountd

paste: what is in your /etc/rc.config.d/nfsconf file?
AUTO_MASTER = ???
AUTO_OPTIONS = ???

What is in /etc/auto_master file?
Somehow it is mounting to defalut location /tmp_mnt

Once I see the content of auto_master and so I can tell what is wrong.

Sachin
Is photography a hobby or another way to spend $
Frank Gilsdorf
Advisor

Re: automount

Hi George,

if you are using HP-UX 11.xx try using the new AutoFS. It mounts the filesystems direct to the mountpoint. No more /tmp_mnt !!!

Also you don't have to kill automount anymore. There is running an automountd-process. If have to configer it just start automount -f /etc/auto_master. That's it. Very cool!

So how to change to AutoFS?

1. Stop the NFS-Client:
/sbin/init.d/nfs.client stop
2. Change to AutoFS:
vi /etc/rc.config.d/nfsconf
.
.
.
AUTOFS=1
.
.
3. Start again:
/sbin/init.d/nfs.client start

Have a look at the mounttable: mount -v. And you will see your maps.

Greetings
Frank