O'Reilly logo

Mastering Linux Network Administration by Jay LaCroix

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

NFS v3 versus NFS v4

Another consideration regarding NFS is the version you'll be using. Nowadays, most (if not all) Linux distributions default to NFS v4. However, there are some cases where you may have older servers on your network, and you'll need to be able to connect to their shares. While NFS v4 is definitely the preferred version going forward, you might need to connect to a node using the older protocol.

In both cases, directories on a file server can be shared via NFS by editing the /etc/exports file, which is where you'll list your shares (exports), one per line. We'll go over this file in more detail in the next section. But for now, keep in mind that the /etc/exports file is where you declare which directories on your filesystem are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required