yum install nfs-utils nfs-utils-lib
/etc/sysconfig/autofs
#
# Init syatem options
#
# If the kernel supports using the autofs miscellanous device
# and you wish to use it you must set this configuration option
# to "yes" otherwise it will not be used.
#
USE_MISC_DEVICE="yes"
#
# Use OPTIONS to add automount(8) command line options that
# will be used when the daemon is started.
#
#OPTIONS=""
#
MASTER_MAP_NAME="auto.master" #defines default primary configuration file
TIMEOUT=300 #the maximum idle time (in seconds) after which filesystem is unmounted
NEGATIVE_TIMEOUT=60 #negative timeout for failed mount attempts (default 60)
LOGGING="verbose" #enable logging (read logs to /var/log/messages
MOUNT_NFS_DEFAULT_PROTOCOL=4 #default protocol used by mount.nfs
BROWSE_MODE="yes" #set to yes by default. Set it to NO and autofs only creates mount points when something is actually mounted on them
/etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
#
/net -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
# +auto.master
/nfs /etc/auto.nfsdb –timeout=180
/etc/auto.nfsdb
backup -fstype=nfs,rw,soft,intr 192.168.222.68:/cPanel/hostingoline3.goline.ch