DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Configuring the NFS automounter

Stopping and restarting automount

It is generally necessary to stop and restart automount when:


The simplest way of stopping and restarting automount is to stop and restart NFS by issuing the commands:

nfs stop
nfs start

If you need to stop and restart automount without interrupting NFS service:

  1. Unmount the automounted filesystems using the umount(ADM) command.

  2. Determine the process ID of automount by entering:

    ps -ef | grep automount | egrep -v grep

  3. Stop automount by entering:

    kill -15 pid

    Here, pid stands for the process ID you obtained from the previous ps command.


    CAUTION: Do not use kill -9 to stop automount. Doing so will not clear the /etc/mnttab file and may prevent filesystems from being mounted. See also ``Unexpected automount termination''.

  4. Complete any desired changes to your automount configuration.

  5. Restart automount from the command line. If automount is usually started by default from the NFS startup script, ensure that the command line syntax matches the automount entry in /etc/nfs.
If you encounter problems while reconfiguring automount, rebooting your machine is also a reliable way of restarting automount.

See also:


Next topic: Unmounting automounted filesystems
Previous topic: Starting automount

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003