1827845 Members
1270 Online
109969 Solutions
New Discussion

Automount Problem

 
pugal
New Member

Automount Problem

Hi Admins

I have problem when accessing automount directories.We sun as our NIS master and slave servers.And the master has a map file auot.software which contains directories of all softwares installed for different flavour of unix(sgi,sun,hpuc,linux..).Say when a user wants to run his jobs on hp server,he logs on to one of our hp server and he cd's into the software directory.And the software directory will be automounted.
we are unable to see the directories under software when log in thru' hp machines.But were able to cd into the directories by giving the full directory.Sametime when logged in thru' sun machines i am able to see the directories.

It's a L-class server running hpux 11.00 and we have some c-class workstations which runs 10.20



my auto_master contains
+auto.home
+auto.software

Can anybody shed some light on this..?

TIA

2 REPLIES 2
Brian Hackley
Honored Contributor

Re: Automount Problem

Pugal,

Without getting into patches, etc, it would be helpful to know the following:
1. Do ANY of your automount maps work at all?
2. If not, are they actually being managed by the automount/AutoFS? Check /etc/mnttab for entries similar to:
klyde:(pid957) /net ignore ro,intr,port=708,map=-hosts,indirect,dev=0000 <-- If using Legacy Automount -hosts /net autofs ignore,indirect,nosuid,soft <-- If using AutoFS
...if you don't see your mount points being managed by automount you need to fix your configuration causing the problem. For example if using NIS, ensure the /etc/nsswitch.conf automount entry is present and configured as desired. For example:
automount: files nis
3. Otherwise, you may want to put automount / automountd PID into debug mode with a kill -17 and check /var/adm/automount.log while you try to cd /directory-with-problem etc.
Each kill -17 turns on/off/on/off etc.
4. Also test to ensure that a "straight" NFS mount works and that you can access the files from the L2000. e.g. mount -F nfs server:/exported-dir /local-dir-not-managed-by-automount
Hope all this helps you get this problem solved,
-> Brian Hackley
Ask me about telecommuting!
Aaron Caine
Advisor

Re: Automount Problem

This may have just happened to me, but on your HP, check your /etc/nsswitch.conf file.

I found that SAM under 11i set the entry to:

automounter: nis files

...when it should be...

automount: nis files

If it is automounter instead of automount, you'll experience hours of frustration. :) After the change, be sure to reboot (or restart all related services).