My remote folder is at: mnt/nfs_share (IP=192.168.1.119)
My local folder is in my home directory: /home/dir/nfs_share
Not sure what I’m doing wrong?
(here are errors when looking at status):
/etc/systemd/system systemctl status nfs-share.mount 1 ✘
○ nfs-share.mount - nfs_share devices
Loaded: bad-setting (Reason: Unit nfs-share.mount has a bad unit file setting.)
Active: inactive (dead)
Where: /home/dklabunde/nfs_share
What: 192.168.1.119:/mnt/nfs_share
Aug 12 11:26:45 HP-Elitebook systemd[1]: nfs-share.mount: Where= setting doesn’t match unit name. Refusing.
Aug 12 11:26:47 HP-Elitebook systemd[1]: nfs-share.mount: Where= setting doesn’t match unit name. Refusing.
Aug 12 12:00:41 HP-Elitebook systemd[1]: nfs-share.mount: Where= setting doesn’t match unit name. Refusing.
Aug 12 12:04:28 HP-Elitebook systemd[1]: nfs-share.mount: Where= setting doesn’t match unit name. Refusing.
Aug 12 12:06:06 HP-Elitebook systemd[1]: nfs-share.mount: Where= setting doesn’t match unit name. Refusing.
So i will repeat the tutorial…keep it simple, do not put it under Home. Make a new dir under root, for example shares.
Then where will be /shares/nfs and your service name will be shares-nfs.mount