Home » LPI » 117-201 » What must be done to access the new path?
You have elected to use the automounter and the autofs script. Your /etc/auto.master file contains the following:
/home/etc/auto.home
/project/etc/auto.project
/datayp:data.map
If you change the contents of /etc/auto.project to include a new source path what must be done to access the new path?
A. Shutdown and restart the local NFS client daemons.
B. Run fsck on the affected mount point.
C. Issue the /etc/init.d/autofs reload command.
D. Add the newly mapped path to /etc/fstab.
E. Nothing, simply access the newly mapped resource.
Correct Answer: E
Explanation/Reference:
Explanation: Autofs uses the automount daemon to manage your mount points by only mounting them dynamically when they are accessed. Autofs consults the master map configuration file /etc/auto.master to determine which mount points are defined. It then starts an automount process with the appropriate parameters for each mount point. Each line in the master map defines a mount point and a separate map file that defines the filesystems to be mounted under this mount point. For example, the /etc/auto.misc file might define mount points in the /misc directory; this relationship would be defined in the /etc/auto.master file.
Each entry in auto.master has three fields. The first field is the mount point. The second field is the location of the map file, and the third field is optional.
The third field can contain information such as a timeout value. If the source path changes, you can access the new path without changing anything because the mount points are mounted and unmounted dynamically when accessed or closed.
Reference: http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-nfs-mount.html
Incorrect Answers
A:As the mount points are mounted and unmounted dynamically, there is no need to restart the NFS daemons.
B:It is not necessary to run fsck (file system checker) on the mount point.
C:As the mount points are mounted and unmounted dynamically, there is no need to restart the autofs daemon.
D:Fstab and autofs are two separate methods for mounting filesystems.
Download Printable PDF. VALID exam to help you PASS.
|
|