I'm trying to mount my Synology NAS on a Raspberry Pi 4 with Raspian. I works when I do it the following command:

sudo mount -t nfs 192.168.178.**:/volume1/my_data / /home/pi/mount/NAS

but it doesn't work with this entry in /etc/fstab:

192.186.178.**:/volume1/my_data /home/pi/mount/NAS nfs defaults 0 0

What am I doing wrong?

Edit: pro tip: make sure you get the IP addresses right so you won't spend days chasing after a trivial error like some idiot. Don't ask me how I know. Thanks to @Arlos for pointing that out.

  • EatYouWell@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    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.