HP-UX HB v13.00 Ch-10 - Network Services
HP-UX Handbook – Rev 13.00 Page 17 (of 26)
Chapter 10 Network Services
October 29, 2013
With NIS configuration becoming increasingly rare, Enhanced AutoFS in conjunction
with LDAP-UX may contain the maps used by automountd which was previously
commonly implemented via NIS.
Straightforward configuration guidance can be found in the book Managing NFS/NIS
by Hal Stern.
NFS manuals for HP-UX can be found by referring to the HP-UX Networking
Software for the appropriate level of HP-UX that is being worked with.
http://h20000.www2.hp.com/bizsupport/TechSupport/Product.jsp?lang=en&cc=us&t
askId=101&prodClassId=10008&contentType=SupportManual&docIndexId=64255
&prodTypeId=18964&prodCatId=427973&prodSubCatId=4155222
Systems after HP-UX 11iv1 do not offer the legacy automount daemon; however, this
version offers both. The AUTOFS automount daemon is mandatory if “newer” NFS-
features are used (NFSv3, NFSv4, Files >2GB).
Patching for NFS has gone to web releases which can be obtained from
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber
=ONCplus which is a link off the Software Depot home http://software.hp.com.
If troubleshooting a AutoFS problem it is often useful to create a mount point
directory and attempt to mount the NFS server’s exported filesystem to isolate
whether the problem is NFS or AutoFS. If the problem is with automountd then
debug logging of that process and a nettl trace are very useful. Output from running
the nfsinfo support script should be run after the AutoFS debug logging.
WARNING: Never use “kill -9” on an automountd daemon! Because the daemon
administers information for the kernel it will corrupt the entire system and to cleanup such a
situation a reboot may be required.
What information can we get from automountd?
You can trace a problem by turning on process logging. It can be enabled by a start option, or in
the nfsconf file AUTOMOUNTD_OPTIONS="-T", or using
# kill -SIGUSR2 <process id> or
# cd /net/=<debug level>
(the later only if /net is in place for the special map /net -hosts). The information will be
written to /var/adm/automount.log.
You can turn off logging via
# cd /net/=0 or again with
# kill -SIGUSR2 <process id>