» Linux »
Examen sur Linux »
Examen 201 : Advanced Administration »
Section 4 »
Question 16/20
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.