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 /data yp: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?

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 /data yp: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.
Nothing Simply access the newly mapped resource

B.
Add the newly mapped path to/etc/fstab

C.
Shutdown and restart the local NFS client daemons

D.
Run fsck on the affected mount point

E.
Issue the /etc/init.d/autofs reload command



Leave a Reply 5

Your email address will not be published. Required fields are marked *


sergiu

sergiu

A. is the correct answer

Sairos

Sairos

A is the correct answer, you need to restart the service only if you have made change to /etc/auto.master

capslock

capslock

From autofs man page:

/etc/init.d/autofs reload will check the current auto.master map against running daemons. It will kill those daemons whose entries have changed and then start daemons for new or changed entries.
If a map is modified then the change will become effective immediately. If the auto.master map is modified then the autofs script must be rerun to activate the changes.

bmcentos

bmcentos

Follow the RH proceed site:

If you modify the /etc/auto.master configuration file while autofs is running, you must tell the automount daemon(s) to reload by typing the following command at a shell prompt:
/sbin/service autofs reload
To learn how to configure autofs to start at boot time, and for information on managing services, refer to Chapter 19, Controlling Access to Services.

Or be, the “E” is correct.

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/System_Administration_Guide/Mounting_NFS_File_Systems-Mounting_NFS_File_Systems_using_autofs.html

bmcentos

bmcentos

Sorry, second the LPIC2 book:

“Once autofs is running, you can change its configuration without restarting it; the tool will detect the changes and implement them immediately.”

Reference: Book LPIC2 Linux Professional Institute Certification Study Guide – Pg105

So, the “.A” is correct.