1
0
Fork 0
mirror of https://code.forgejo.org/infrastructure/documentation synced 2024-11-15 01:21:53 +00:00

Merge pull request 'setup NFS to use the DRBD volume' (#20) from earl-warren/documentation:wip-nfs into main

Reviewed-on: https://code.forgejo.org/infrastructure/documentation/pulls/20
This commit is contained in:
earl-warren 2024-10-05 10:24:47 +00:00
commit be0278a40e

View file

@ -743,6 +743,23 @@ https://hetzner05.forgejo.org & https://hetzner06.forgejo.org run on [EX44](http
lxc-helpers.sh lxc_install_lxc_inside 10.47.3 fc11
```
#### NFS
[server](https://wiki.archlinux.org/title/NFS).
```sh
sudo apt install nfs-kernel-server nfs-common
echo /precious 10.53.101.0/255.255.255.0(rw,no_root_squash,subtree_check) | sudo tee -a /etc/exports
sudo exportfs -a
sudo exportfs -s
```
[client](https://wiki.archlinux.org/title/NFS).
```sh
sudo apt install nfs-common
```
#### Disk partitioning
- First disk