From 7ec8e13b84634948b9fe1d3a9826e98f3bc9e7c5 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Fri, 4 Oct 2024 17:51:45 +0200 Subject: [PATCH] setup NFS to use the DRBD volume Closes #2 --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index fcc4af9..380dd5f 100644 --- a/README.md +++ b/README.md @@ -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