Home » LPI » 117-201 » Which of the following is the best solution to this problem?
You have added a new file system to /etc/exports, but users complian that they still get “Permission denied” errors when they try to mount the new file system. Which of the following is the best solution to this problem?
A. Reboot the server.
B. Add the option (no_root_squash) to the entry already added.
C. Restart NFS.
D. Run the command exportfs -a
E. Run the command export -nfs.
Correct Answer: D
Explanation/Reference:
Explanation: The exportfs command makes local directories available for Network File System (NFS) clients to mount. This command is normally invoked during system startup by the /etc/rc.nfsfile and uses information in the /etc/exports file to export one or more directories, which must be specified with full path names.
The /etc/xtab file lists directories that are currently exported. To display this file, enter the exportfs command without flags or arguments. To alter the file or to alter the characteristics of one of its directories, root users can edit the /etc/exports file and run the exportfs command. The -a option exports all directories listed in the /etc/exports file. Such alterations can be done at any time. Never edit the /etc/xtab file directly.
Reference: http://www.unet.univie.ac.at/aix/cmds/aixcmds2/exportfs.htm
Incorrect Answers
A:It is not necessary to reboot the server. The exportfs command can be run at any time.
B:The no_root_squash option is used to allow root permission to an exported directory to the root user on a remote machine.
C:It is not necessary to restart NFS.
E:Export -nfs is the wrong command.
Download Printable PDF. VALID exam to help you PASS.
|
|