> After=network.target

you want to use network-online.target, not (only) network.target.

you also may want to use
Before=umount.target
Before=remote-fs.target


systemd will create an automatic mount unit for all mounts, so you can see what 
params it uses if you mount the NFS share manually (i.e. remove your mount unit 
file and mount from cmdline) and run systemctl show, e.g.:
$ systemctl show mnt-nas-music.mount

it also will dynamically create mount files for everything you have in
/etc/fstab, at /run/systemd/generator/.

Is there a reason you want to replace the fstab entry with a systemd
mount unit file?

** Changed in: systemd (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838464

Title:
  NFS volume not mounting with systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1838464/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to