I assume you've just twisted two numbers in the second octet. 186
but in the example above it's 168
Fix it and it should work.
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I assume you've just twisted two numbers in the second octet. 186
but in the example above it's 168
Fix it and it should work.
Holy crap. You're right. For the record: I'm an idiot.
What do you mean "doesn't work"? Is there some error message in the log (dmesg, /var/log/messages, on the console, whatever raspbian uses)?
after modifying /etc/fstab you'd have to manually run sudo mount -a
for the settings to take effect.
What error message do you have (if any) when you try to mount your folder (sudo mount /home/pi/mount/NAS
)
I just get this:
mount.nfs: Connection timed out
Weird. Have you tried removing 0 0
at the end of your fstab entry? This option is not supported on recent NFS versions
As a wild guess, try completely specifying the IP address in your fstab instead of relying on a wildcard. Wouldn't be the first time there was a slight difference in how a marginal feature like that worked in different contexts.
The IP address in the actual file is complete. I just didn't want to put it here. I guess I should have put another number.
Filesharing drove me insane.
I ended up ripping the HDDs and putting them on my server, then proceeded to share the drives as normal. My docker containers now use them perfectly fine. IDK wtf Synology is doing but it's cumbersome AF.
This is what my fstab entry looks like.
synas.com:/volume1/Music /mnt/music nfs nofail,noauto,x-systemd.automount
If that works, but you want to figure out the root cause, let me know and we can get it figured out.