» Linux » Examen sur Linux » Examen 201 : Advanced Administration » Section 4 » Question 16/20
16.You have added a new file system to /etc/exports, but users complain 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?

Reboot the server.
Add the option (no_root_squash) to the entry already added.
Restart NFS.
Run the command exportfs -a
Run the command export -nfs.

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.

« Question 15 Question 17 »