Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
NFS Services Administrator’s Guide: HP-UX 11i version 3 > Chapter 3 Configuring and Administering AutoFS

Updating from Automounter to AutoFS

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Automounter is a service that automatically mounts fileystems on reference. The service enables you to access the filesystems without taking on the superuser role and use the mount command. All filesystems appear to be immediately and continuously available.

Starting with HP-UX 11i v2, Automounter is no longer supported. HP recommends that you update to AutoFS. Updating to AutoFS offers the following advantages:

  • AutoFS can be used to mount any type of fileystem.

  • Automounter mounted the directories mounted under /tmp_mnt and created symbolic links from the configured mount-points to the actual ones on /tmp_mnt. In AutoFS, the configured mount-points are the actual mount-points.

  • Automounter had to be killed and restarted when you wanted to modify maps. In AutoFS, you need not stop AutoFS when you modify the maps. Run the automount command after modifying the map for the change to take effect.

NOTE: Updating from Automounter to AutoFS does not require any user intervention.

The following steps are performed automatically to update all users from the Automounter configuration to AutoFS:

  1. In the /etc/rc.config.d/nfsconf file, the AUTOFS variable is set to 1.

  2. Any options you had specified in the AUTO_OPTIONS variable are copied to either the AUTO_OPTIONS or the AUTOMOUNTD_OPTIONS variable. Obsolete options are removed.

    Table 3-2 lists the options of the old automount command and the equivalent AutoFS command options. It also indicates which automount options are not supported in AutoFS.

    Table 3-2 Old Automount Command-Line Options Used By AutoFS

    Old automount OptionEquivalent AutoFS command optionPurpose
    -Dvariable = valueautomountd -Dvariable = valueTo assign value to the environment variable.
    -fmaster_fileautomount -fmaster_fileTo use master_file as local master map.
    -Mmount_directoryObsolete with AutoFS.To automount directories under mount_directory instead of /tmp_mnt.
    -mObsolete with AutoFS.To ignore NIS auto.master map.
    -nObsolete with AutoFS.To allow automounts only of previously mounted target filesystems.
    -Tautomountd -TTo enable automount tracing.
    -tldurationautomount -tdurationTo specify time before unmounting idle directories.
    -tmintervalObsolete with AutoFS.To specify interval between mount attempts.
    -twintervalObsolete with AutoFS.To specify interval between unmount attempts.
    -vautomount -vautomountd -vTo specify the Verbose mode.

     

  3. Scripts that kill and restart automount are modified.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.