Network File System (NFS)

Note:
This documentation has moved to a new home! Please update your bookmarks to the new URL for the up-to-date version of this page.

1 Like

Documentation clean up.
config section of service-nfs shows “noexec” as an option in one of the examples.

but in 20.04 it’s not recognized:

root@spinningrust:/etc# exportfs -rav
exportfs: /etc/exports:2: unknown keyword “noexec”

root@spinningrust:/etc# man exports.5 | grep noexec
root@spinningrust:/etc#

Thanks, I removed it. It’s indeed invalid for /etc/exports: it’s an /etc/fstab option.

The heading “NFSv4 with Kerberos” should IMHO just say “NFS with Kerberos”, because NFSv3 and NFSv4 work the same way with Kerberos. I’ve been using Kerberized NFSv3 every day for more than 15 years, and v3 still has advantages, such as no id-mapping (and all the things that can go wrong there), as well as fewer bugs in many implementations (e.g., macOS long had a far more robust NFSv3 than NFSv4 implementation).

Kerberos isn’t part of NFSv4, but is implemented in the RPC layer underneath (as RPCSEC_GSS), which is used by both NFSv3 and NFSv4.

Thanks for your comment. You are correct, and I removed the “v4” part from that header.