Exhibit
# cat /etc/exports /export *(rw,sync,no_subtree_check) /export/shared 192.168.1.0/24(rw,sync,no_subtree_check) /export/restricted 10.0.0.0/8(ro,sync,no_subtree_check) # exportfs -v /export <world>(sync,wdelay,hide,no_subtree_check,sec=sys,rw,secure,root_squash,no_all_squash) /export/shared 192.168.1.0/24(sync,wdelay,hide,no_subtree_check,sec=sys,rw,secure,root_squash,no_all_squash) /export/restricted 10.0.0.0/8(sync,wdelay,hide,no_subtree_check,sec=sys,ro,secure,root_squash,no_all_squash) # showmount -e localhost Export list for localhost: /export * /export/shared 192.168.1.0/24 /export/restricted 10.0.0.0/8
- A
The client's IP is in the allowed subnet but the export entry for /export/restricted is missing from /etc/exports after a change and not re-exported
The client's IP 10.0.0.5 is within the allowed subnet 10.0.0.0/24, so the issue is not subnet mismatch. The correct reason is that the export entry for /export/restricted is missing from /etc/exports after a change and the NFS server has not been re-exported with `exportfs -ra`.
- B
The client IP 10.0.0.5 is not in the allowed subnet 192.168.1.0/24
Why wrong: The client IP 10.0.0.5 is actually within the allowed subnet (10.0.0.0/24) shown in the exhibit, not 192.168.1.0/24. Therefore, this is not the cause of the error.
- C
The export uses root_squash which maps root to nobody, causing permission issues
Why wrong: root_squash does not cause 'Permission denied' during mount; it affects access after mounting by mapping root to nobody. The error occurs at mount time, so this is not the issue.
- D
The export /export/restricted has ro (read-only) and the client might be trying to write
Why wrong: The export /export/restricted having ro (read-only) would cause write operations to fail after mount, not a 'Permission denied' error during the mount attempt itself.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.