Fstab nfs mounts errors in logs

Hi,

i tried to follow the instructions but I can see errors in logs about automounting my nfs shares.
https://paste.osmc.tv/abaxolunax

Here is my mount list from Synology NAS
osmc@esoxOsmc:/mnt/volumeUSB1/usbshare$ showmount -e 192.168.17.20
Export list for 192.168.17.20:
/volumeUSB1/usbshare 192.168.17.*
/volume1/video 192.168.17.*

And this is what I added to fstab file:
# rootfs is not mounted in fstab as we do it via initramfs. Uncomment for remount (slower boot)
#/dev/vero-nand/root / ext4 defaults,noatime 0 0
192.168.17.20:/nfs /mnt/volumeUSB1/usbshare nfs noauto,x-systemd.automount 0 0
192.168.17.20:/nfs /mnt/volume1/video nfs noauto,x-systemd.automount 0 0
~

What’s wrong?

Hi,

I’ve moved your post to topic, to stop the wiki entries getting cluttered.

Please try changing the fstab entries to:

192.168.17.20:/volumeUSB1/usbshare /mnt/usbshare nfs noauto,x-systemd.automount 0 0
192.168.17.20:/volume1/video /mnt/video nfs noauto,x-systemd.automount 0 0

Then I would make the mountpoints:

sudo mkdir /mnt/usbshare
sudo mkdir /mnt/video

Then re-mount the shares or reboot.

Thanks Tom.

Oh thanks and sorry for posting my error log into wrong topic.
After fstab modification, my shares are fine. Thx so much.

2 Likes