Operating System - HP-UX
1834771 Members
3037 Online
110070 Solutions
New Discussion

NFS/Autofs contending host map vs. indirect maps

 
Ralph Grothe
Honored Contributor

NFS/Autofs contending host map vs. indirect maps

Hi,

after having installed the Enhanced Autofs on an 11i NFS client, I'm playing a bit with various AutoFS maps to find out which types best suite our needs.
My master map looks like this:

# cat /etc/auto_master
/net -hosts -nosuid,soft,nobrowse
/- /etc/auto_direct
/nfs /etc/auto_ansic

Because of NFS performance problems (which ususally desuade from the use of any automounter, but we have to) I downloaded Rick John's netperf sources that I want to compile via an NFS exported ANSI C compiler, in order to first meassure the NICs' throughput between NFS server and clients.
Thus I added the /nfs this indirect map:

# cat /etc/auto_ansic
ansic -nosuid bode:/opt/ansic
langtools -nosuid bode:/opt/langtools

On NFS server bode I exported those shares (containing the compiler binaries and libs)

# showmount -e bode
export list for bode:
/opt/ansic aller
/opt/langtools aller

aller is this NFS client.

However, because of the hosts map entry in the master map I still have a lingering hosts mount from before.

How can one avoid that automountd will mount the hosts map for the same share already covered by the indirect mount?

Rgd.
Ralph
Madness, thy name is system administration
1 REPLY 1
Sundar_7
Honored Contributor

Re: NFS/Autofs contending host map vs. indirect maps

I dont think this is possible. But why would you use -hosts special map at all ? - I cannot think of any production status day-to-day use for the /net -hosts entry :-)
Learn What to do ,How to do and more importantly When to do ?