Operating System - HP-UX
1753876 Members
7167 Online
108809 Solutions
New Discussion юеВ

problem rebooting when automount is started

 
Joel Tolentino
Occasional Contributor

problem rebooting when automount is started

I'm running on HP-UX 11.0. In my /etc/rc.config.d/nfsconf file, when I put automount=1 it hangs on reboot. Message reads:

NFS server (pid880@/net) not responding still trying.

When I put automount=0 it's ok but nothing is mounted, just my local drives. No NFS mounts.
5 REPLIES 5
Enrico P.
Honored Contributor

Re: problem rebooting when automount is started

Hi,
automount point to /etc/auto_master that determines the autofs mount point.

see man automount

che for the entry in this file

Enrico
Enrico P.
Honored Contributor

Re: problem rebooting when automount is started

Hi,
for configuring automount you need to add the next line in the /etc/auto_master file:

/- /etc/auto.direct

Create the auto.direct file with the entry:

mount_point :/directory_to_export

Enrico
Mark Ellzey
Valued Contributor

Re: problem rebooting when automount is started

Joel,

Hostname resolution is key in this situation. You must be able to resolve the the host where the NFS mounts are being exported. You can check this by using 'nslookup' to lookup the name of the exporting host. If the name is not resolved, you will never be able to mount the NFS filesystems.

Also, make sure the you have exported the NFS filesystems on the exporting host by putting them in the /etc/exports file and executing exportfs -av.

Regards,
Mark
Kevin Wright
Honored Contributor

Re: problem rebooting when automount is started

95% of the time this error is due to a name resolution issue when automount is trying to start. Log files may have clue's, but check dns and hosts file for proper resolution. nsswitch.conf file may need modified as well.

Re: problem rebooting when automount is started

Hi Tolentino,

Check for host resolution

entry in .rhosts & host.equiv

automount may hang once not able to resolve the host.

-Vivek