How to properly setup an automount NFS share with my Synology NAS?
So I tried before setting up an NFS share to my NAS so I could stream local music files for Spotify, and backup drive for Steam games that an SMB share wasn't doing on my PC. I ran into 2 problems though. Every so often it would re-ask for login info, making Spotify not see the local files anymore unless I reset cache, and after a Bazzite update the share just seem to get removed.
I setup NFS sharing on my NAS with the IP, volume name, along with making sure "nfs-utils" package is installed. I'm guessing doing the generic sudo mount command where it picks the default point isn't on the local user directory so Bazzite being immutable breaks it, and automounting would fix the login issue.
Just figured I'd ask what is best practice since I'm new to Linux? What commands should I use to put the mount point in the right place, and how to automount so it doesn't ask for login info?
1 Reply
default mounting location shouldnt be in immutable folder, you can automount using fstab or systemd-mount
the step is basically the same as any other distro, just pick
/var/mnt/[your-mount-name]
as mount point or something around that line