1
0
Fork 0
mirror of https://code.forgejo.org/infrastructure/documentation synced 2024-11-22 03:21:10 +00:00

setup NFS to use the DRBD volume

Closes #2
This commit is contained in:
Earl Warren 2024-10-04 17:51:45 +02:00
parent 3b892d0830
commit 7ec8e13b84
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

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