Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 19 additions & 7 deletions src/config/network-filesystems.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

### Mounting an NFS Share

To mount an NFS share, start by installing the `nfs-utils` and `sv-netmount`
packages.

Before mounting an NFS share, [enable](./services/index.md#enabling-services)
the `statd`, `rpcbind`, and `netmount` services. If the server supports `nfs4`,
the `statd` service isn't necessary.
To mount an NFS share, install the `nfs-utils` package. If desired, the
`sv-netmount` package provides a simple service that will automatically mount
network filesystems at boot. Clients and servers using NFSv3 or older protocols
require that the `rpcbind` and `statd` service be
[enabled](./services/index.md#enabling-services). Clients and servers using
NFSv4 exclusively do not require these services.

To mount an NFS share:

Expand Down Expand Up @@ -68,4 +68,16 @@ server status:
```

You can use [nfs.conf(5)](https://man.voidlinux.org/nfs.conf.5) to configure
your server.
your server. In particular, to disable legacy protocol versions and support only
NFSv4, add the following section:

```
[nfsd]
vers3=n
vers4=y
vers4.1=y
vers4.2=y
```

You can verify the configured list of supported versions by inspecting the
contents of the file `/proc/fs/nfsd/versions`.
Loading