Files
Controls-docs/admin-guide/configuration/nfs_server.md
T
2024-04-29 13:31:48 +02:00

33 lines
784 B
Markdown

# NFS Server
Your node can serve as NTP server.
To enable the NFS server, set `base::enable_nfs_server` accordingly in Hiera:
```
base::enable_nfs_server: true
```
Then the exports go below `nfs_server::exports`:
```
'/home/meg/dcbboot':
clients:
- hosts: '*'
options: 'rw,sync,no_root_squash,no_subtree_check'
'/export/swissfel_athos/raw/maloja-staff':
options: 'fsid=1012'
clients:
- hosts: 'sf-export-1[2-3]-100g'
options: 'rw,async,no_root_squash'
```
If you wish non-standard configuration in `/etc/nfs.conf`, you may set it in Hiera with key `nfs_server::nfs_conf`:
```
nfs_server::nfs_conf:
nfsd:
udp: 'y'
vers3: 'n'
```
If you need/want to provide Kerberos authenticated access, please speak to the Core Linux Team.