Operating System - HP-UX
1827293 Members
2659 Online
109717 Solutions
New Discussion

Re: automount hangs at startup

 
Oliver White
Occasional Advisor

automount hangs at startup

I am having trouble with NFS automount after changing IP address of the server and moving it behind a firewall.

The thing is, we were not even using NFS at all on this server, it was a recent clean HP-UX 11i install, with the latest Gold QPK.

When running /sbin/init.d/nfs.client start, all the daemons start up until it gets to automount, then it hangs and gets NFS server (pid3230@/net) not responding messages.

The /etc/auto_master file contains the default entry of
/net -hosts -nosuid,soft

I can only assume it is looking for something that it could see on the old network before I moved it behind the firewall. How can I find out what it is trying to mount at startup that is causing the problem?

For now I have got around the problem by disabling automount, but one day I might want to use it.
3 REPLIES 3
Bill Hassell
Honored Contributor

Re: automount hangs at startup

This has been a common complaint for new installs. Just disable all NFS features in /etc/rc.config.d/nfsconf and bootup will be OK. When you need NFS, add the required daemons but make sure you have a useable automount master file.


Bill Hassell, sysadmin
Oliver White
Occasional Advisor

Re: automount hangs at startup

I'm an idiot. I forgot to update the IP address for the server in /etc/hosts and DNS when I changed IP addresses. After fixing that automount no longer hangs at bootup.
Ravi_8
Honored Contributor

Re: automount hangs at startup

Hi,

you might have changed IP only in /etc/rc.config.d/netconf file, so you didn't update the /etc/hosts and resolv.conf file.

'set_parms' command would have solved your problem once for all

thanx for posting the solution
never give up