RHEL5/6 Interview Questions : NFS
1. Red Hat Enterprise Linux 6 uses the portmap service alongside the NFS service. True or False?
1a. False. The portmap service was replaced by the rpcbind service in Red Hat Enterprise Linux 6.
2. What is the /var/lib/nfs/etab file used for?
2a. The /var/lib/nfs/etab file is used to keep track of currently exported resources.
3. To export directories as resources, what file needs to be edited?
3a. The /etc/exports file needs to contain any directory that you want to export, including which options you’d like to use as well.
4. The exportfs command is used to view currently exported resources. True or False?
4a. False. The exportfs command is used to export one or all resources.
5. What port does NFS use by default?
5a. The NFS service uses TCP port 2049 by default.
6. What command can you use to view NFS statistics?
6a. The nfsstat command can be used to view NFS statistics.
7. What option needs to be used with the mount command to mount an NFS resource?
7a. The –t nfs option is used with the mount command to mount NFS resources