NFS Services Administrator's Guide (B.11.31.05) September 2009
1. If the AutoFS maps are not already migrated, migrate your AutoFS maps to LDAP Directory
Interchange Format (LDIF) files using the migration scripts.
The LDAP-UX client only supports the new AutoFS schema, and the migration scripts will
migrate the maps according to the new schema. For information on the specific migration
scripts, see LDAP-UX Client Services B.04.10 Administrator’s Guide (J4269-90067).
2. Import the LDIF files into the LDAP directory server using the ldapmodify tool.
For information on importing the LDIF files, see the LDAP-UX Client Services B.04.10
Administrator’s Guide (J4269-90067).
3. Enter the following command to run the AutoFS shutdown script:
/sbin/init.d/autofs stop
4. Enter the following command to run the AutoFS startup script:
/sbin/init.d/autofs start
AutoFS Configuration Prerequisites
Consider the following points before configuring AutoFS:
• Ensure that the local directory you configure as the mount-point is either empty or
non-existent. If the local directory you configured as the mount-point is not empty, the local
files or directories in it are hidden and become inaccessible if the automounted filesystem
is mounted over the local directory.
• Before you mount a remote directory on your system, you must configure the remote system,
where the directory is located, as an NFS server and export that directory.
• If you change the mount options, the remote server name, or the remote directory name for
an existing direct or indirect mount while AutoFS is running, the changes take effect only
when the directory is mounted the next time. However, if you change the local directory
name in the direct or indirect map, or if you change the master map, these changes do not
take effect until you run the automount command to force AutoFS to reread its maps.
Updating from Automounter to AutoFS
Automounter is a service that automatically mounts filesystems 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 filesystem.
• 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:
AutoFS Configuration Prerequisites 57