mount -o vers=4.2 server:/srv/nfs /mnt/nfs

Category: Administration

mount -o vers=4.2 server:/srv/nfs /mnt/nfs

Mount an NFS export with a specific version

Mounts the NFS export /srv/nfs from server at /mnt/nfs, explicitly requesting protocol version 4.2. Pinning the version avoids negotiation surprises and enables features such as server-side copy. Other versions include vers=3 and vers=4.1. The export must be listed in the server's /etc/exports.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.