1837007 Members
2107 Online
110111 Solutions
New Discussion

Re: Automount

 
Jose Cruz
New Member

Automount

We are having problems with automount. The current config is 10.20 and runs automount fine however after igniting to hpux 11 automount starts but is not finding file systems that it did at 10.20. To my knowledge all config files are correct. The ignite image is from an actual ignite that worked on one B class wksttn. We are really having trouble getting another B class's automount to work correctly.
3 REPLIES 3
Edward Lu
Frequent Advisor

Re: Automount

Can you show the nfs setting on both client and server?
Shannon Petry
Honored Contributor

Re: Automount

Hopefully you either have a backup or another working system. What you need to look at is /etc/auto_master, which is the default control mechanism. Is this the same? Are all maps referenced in auto_master their?
Also, are you running compatable versions? Check rc.config.d and make sure that version 3 is specified on both hosts, or version 2. (The NFS Server can downgrade NFS versions, but may require the version mount option)

The beauty of NFS is at most levels it is not so complex :)

Regards,
Shannon
Microsoft. When do you want a virus today?
Brian Hackley
Honored Contributor

Re: Automount

Jose,
What I always do is cat /etc/mnttab and look to see what filesystems the automounter thinks it is really managing. For example:
If you are using the "user space" automounter (e.g. the process "automount" is running, not "automountd"), then you will usually see entries like:
lumpy:(pid1273) /net ignore ro,intr,port=601,map=-hosts,indirect,dev=0000 0 0 980818520
lumpy:(pid1273) /home/punk ignore ro,intr,port=601,map=/etc/auto.direct,direct 0
0 980818520

If you are using Autofs (e.g. automountd is running), then /etc/mnttab entries will look like:
-hosts /net autofs gnore,indirect,soft,suid,rw 0 0 981800328
auto_ive /ive autofs ignore,indirect, 0 0 981800329

So if you don't see ANY entries like those, then the automounter is not managing those filesystem points. You might want to check /etc/auto_master or whatever the AUTO_MASTER is that you specified in /etc/rc.config.d/nfsconf, and also the /etc/nsswitch.conf entry for automount. Typically it is set up to look at "files" first, and then NIS for the automount maps.
For example:
automount: files nis
Note, you can't find automount maps in DNS!

Good luck in resolving this, please let us know how you fare with this issue.
Brian
Ask me about telecommuting!