[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Hi All,I would appreciate some guidance on this please. I've tried following this website but I come unstuck on the specific filenames I need to use:
https://cloudnull.io/2017/05/nfs-mount-via-systemd/I'm using - as some already know - a Synology DS216j as my NAS. I have three shares on it, DEMETER, HESTIA and PERSEPHONE. All three have the shares exported via the Synology Diskstation Manager (DSM). The permissions set for all three exports are:
Client: 192.168.1.0/24 Privilege: Read/Write Squash: map root to admin Asynchronous: Yes Non-privileged port: Allowed Cross-mount: AllowedThese work for the Raspberry Pi I have [had] running Kodi and the smart functions of my BD player which displays movies and pictures from the NAS.
The perennial problem is that since kernel 4.12.* the NFS shares will not mount from the fstab at boot. I have to run 'sudo mount -a' every time; that works flawlessly so there is obviously a problem with the boot process. This website seems to offer the solution but creating the unit mount files for my case are giving me a headache. Taking DEMETER as an example:
Server IP: 192.168.1.3 Server name: Zeus Share name: DEMETER fstab entry: 192.168.1.3:/volume1/DEMETER /media/julian/DEMETER nfsThe unit mount file at the moment is named '192.168.1.3-volume1-DEMETER'. Content of the file is:
[Unit] Description=Demeter Zeus After=network.target [Mount] What=192.168.1.3:/volume1/DEMETER Where=/media/julian/DEMETER Type=nfs Options=_netdev,auto [Install] WantedBy=multi-user.targetI've tried 'Zeus' instead of the server IP but that made no difference. I am really scratching my head at this point.
Kind regards, Julian -- The Mailing List for the Devon & Cornwall LUG https://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq