new-install

Notes on OS intalls
git clone https://git.bracken.jp/new-install.git
Log | Files | Refs | LICENSE

commit 1af7fb047484050aa4c95a96701e326a2b84ae5e
parent d8bb5ce6473af1c47500e18bb2224974a92f7e0e
Author: Chris Bracken <chris@bracken.jp>
Date:   Wed,  8 Sep 2021 17:32:07 -0700

arch: add notes on idmapd for NFS

Diffstat:
March_install.md | 22++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/arch_install.md b/arch_install.md @@ -656,9 +656,9 @@ set consistently across both: Domain = bracken.jp ``` -With the default security mechanism, idmapd support is disabled. You can verify -this by running: -``` +With the default security mechanism, [idmapd][idmapping] support is disabled. +You can verify this by running: +```sh cat /sys/module/nfs/parameters/nfs4_disable_idmapping cat /sys/module/nfsd/parameters/nfs4_disable_idmapping ``` @@ -671,12 +671,26 @@ options nfs nfs4_disable_idmapping=0 options nfsd nfs4_disable_idmapping=0 ``` -Edit `/etc/fstab` to contain the new mounts: +Note that, as noted in the [idmapd][idmapping] section of the NFS wiki, it is +_not_ necessary to run the nfs-imapd systemd service since there's already a +newer ID mapper built-in. You can see this by running: +```sh +dmesg | grep id_resolver +``` + +Finally, we edit `/etc/fstab` to add the new mounts: ``` # Filesystem Mountpoint Type Options Dump Pass servername:/path/to/directory /path/to/mountpoint nfs rw,nfsvers=4,_netdev,noauto 0 0 ``` +``` +systemctl start nfs-idmapd +``` + +[idmapping]: https://wiki.archlinux.org/title/NFS#Enabling_NFSv4_idmapping + + ### HP printer support Next, we'll configure [CUPS][cups_guide] printer support for HP printers,