| United States-English |
|
|
|
![]() |
Release Notes for HP-UX 11.0 Extension Pack, December 1998: HP 9000 Computers > Chapter 3 Functionality Changes Included in the Integrated
Patch BundleAutoFS for Mounting and Unmounting NFS File Systems |
|
HP-UX 11.0 Extension Pack provides a daemon that mounts and unmounts NFS file systems automatically. This feature is known as AutoFS. AutoFS coexists with automount and performs the same functions as automount, but has a new, more reliable design. Additionally, AutoFS supports the NFS PV3 protocol, whereas the automounter does not. The automount command has been replaced with a shell script that will either invoke the old Automount daemon or the new AutoFS automount command, depending on the variable AUTOFS in /etc/rc.config.d/nfsconf.
The old automount executable are located at: /usr/lib/netsvc/fs/automount/automount The new Autofs executables are located at: /usr/lib/netsvc/fs/autofs/automountd /usr/lib/netsvc/fs/autofs/automount When AutoFS is executed, a process used by its kernel code for kernel thread support is also started. The autofs_proc process cannot be killed, except by a shutdown of the system. From an operational standpoint, AutoFS functions comparably to the old automounter and returns the same values. From the system administrator's standpoint, however, AutoFS is started, stopped and updated differently than its predecessor. The nfs.client start-script automatically starts and stops the correct daemons, depending on the value of AUTOFS in /etc/rc.config.d/nfsconf.
Any user-written scripts that expect the automount command to remain running as a daemon will have to be updated either to not expect this behavior, or to check explicitly that automountd is running. AutoFS can no longer be shut down by killing the automount process; instead, you must shut it down by executing the following command:
This will unmount all mounted AutoFS filesystems and then kill the automountd process. If you try to stop AutoFS without using /sbin/init.d/nfs.client script you must do the following:
The -n, -M, and -tw options of the automount command are not supported at all in AutoFS. The -m and -tm options are not supported, but their behavior can be configured in different ways:
Another difference between automounter and AutoFS is that AutoFS no longer uses symbolic links to access the mount points. Applications that depend on this explicit behavior will no longer work as expected. To enable AutoFS, you must add or the set the AUTOFS variable to 1 in /etc/rc.config.d/nfsconf. Here is an example of this change:
A new manpage, automountd(1M) is being provided that describes the AutoFS automount daemon. The automount(1M) manpage has been modified to describe both the old Automount daemon functionality and the new AutoFS command functionality. For more information on how to migrate to AutoFS, see Chapter 2 in the Installing and Administering NFS manual. The existing 11.0 automounter can be re-enabled if desired, by setting the AUTOFS variable to 0 or removing the AUTOFS variable from /etc/rc.config.d/nfsconf. In this configuration, automounter will not mount file systems via the NFS version 3 protocol. Although all 11.0 patch bundles contain both AutoFS and automounter, AutoFS will replace automounter in the next release of HP-UX. |
||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||