Difficulty: Easy
Correct Answer: mount
Explanation:
Introduction / Context:
Network File System (NFS) allows directories to be shared across machines. On the client side, the standard way to attach a remote NFS export to a local mount point is with the system's mount utility. Recognizing the correct tool avoids confusion with server daemons and legacy helper names.
Given Data / Assumptions:
Concept / Approach:
The mount command is the general-purpose utility for attaching filesystems. With NFS, you either specify the -t nfs or rely on autodetection. Systemd-based systems may also use mount units or fstab entries, but the underlying action still uses mount to bind the remote export into the local namespace.
Step-by-Step Solution:
Verification / Alternative check:
Confirm access by listing contents (ls /mnt/share). If mounting fails, check firewall, exports on the server (/etc/exports), and version negotiation (for example, vers=3 or vers=4).
Why Other Options Are Wrong:
Common Pitfalls:
Forgetting to create the mount point, missing user-space rpcbind or nfs-utils on older setups, and neglecting to specify correct mount options for performance and security.
Final Answer:
mount
Discussion & Comments