From 6d0715f5b50e64b636c19125b12caa02ca73049e Mon Sep 17 00:00:00 2001 From: ktyl Date: Sat, 3 Dec 2022 15:37:22 +0000 Subject: [PATCH] more tweaks --- blogs/2022/12/03/automount-nfs.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/blogs/2022/12/03/automount-nfs.md b/blogs/2022/12/03/automount-nfs.md index f4a518e..367f8a3 100644 --- a/blogs/2022/12/03/automount-nfs.md +++ b/blogs/2022/12/03/automount-nfs.md @@ -9,6 +9,9 @@ There are other ways to do this, but as my machines predimonantly run Debian- or This post is largely based on the description on the [ArchWiki](https://wiki.archlinux.org/title/NFS#As_systemd_unit). My NAS' hostname is `sleeper-service`, and I'll be mounting the `Music` shared folder. +You'll need the `nfs-utils` package to mount NFS filesytems. +You may also need to configure security on your NAS to allow NFS connections from your local machine's IP. + ## Initial mount Before doing anything automatically, we first need to create a `systemd` unit to mount the remote filesystem at a path in our local filesystem. @@ -45,7 +48,7 @@ WantedBy=multi-user.target Once we've created this, we can try to manually mount the shared folder by starting the unit: ``` -$ sudo systemctl start sleeper\\x2service-Music.mount +$ sudo systemctl start sleeper\\x2dservice-Music.mount $ ls /sleeper-service/Music ```