more tweaks
This commit is contained in:
parent
2d9b6b689a
commit
6d0715f5b5
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue