Tuesday, March 16, 2010

Solaris: Autofs

The default time to automount the shared resource is 10 min (600 sec).

If the time has to be changed it can be performed by executing the following command,
bash-3.00# automount -t 15 –v
-t = specifies the time to be mounted
-v = verbose mode

If the same has to be applied for all the shared resources on automounting, we can edit the following file,

bash-3.00# vi /etc/default/autofs | more
#ident "@(#)autofs 1.2 04/11/12 SMI"
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.

# The duration in which a file system will remain idle before being
# unmounted. This is equivalent to the "-t" argument to automount.

(Output Truncated)


  1. Hi Manickam ,

    got an issue while restarting the autofs services.

    If I start the autofs service , its entering on to "maintenance" mode.

    What should be the fix.

    Please suggest .


  2. Hi Prasanna,

    Please check the config files once. If the sate is "maintenance" root intervention is much required.