Hi there,
I'm unable to get my NFS (password protected) drive to mount using the supplied systemd config sample. I get the following error:
Code
Dec 28 03:11:44 Kodi systemd[1]: storage-nas.mount: Failed to run 'mount' task: Invalid argument
Dec 28 03:11:44 Kodi systemd[1]: storage-nas.mount: Failed with result 'resources'.
Dec 28 03:11:44 Kodi systemd[1]: Failed to mount NFS Mount.
Here is my mount config file:
Filename: storage-nas.mount
Code
[Unit]
Description=NFS Mount
Requires=network-online.service
After=network-online.service
Before=kodi.service
[Mount]
What=192.168.1.178:/volume1/My\ TV/
Where=/storage/nas/
Options=username=firstname.lastname,password=Passwordwithescapedcharacters\!\@\#
Type=nfs
[Install]
WantedBy=multi-user.target
Display More
The above works if I do the following command without using systemd:
Code
mount -t nfs -O username=firstname.lastname,password=Passwordwithescapedcharacters\!\@\# 192.168.1.178:/volume1/My\ TV/ /storage/nas/
Can someone tell me what I'm doing wrong?