Hello, I tried all of your suggestions but nothing changed.

First attempt: I tried to add the following lines to my unit file:

After=network.target network-online.target
Before=umount.target remote-fs.target

No success.

Second attempt: I removed my unit file, I mounted manually the folder (with 
"sudo mount -t nfs 192.168.1.103:/Multimedia/Music /mnt/nas/music/") and I 
noticed with "show mnt-nas-music.mount" that the options generated by systemd 
were different, so I changed my unit file this way:
______________________________________

[Unit]
Description=NAS volume - Music
Wants=network-online.target
WantedBy=multi-user.target
Conflicts=umount.target
Before=remote-fs.target multi-user.target umount.target
After=system.slice remote-fs-pre.target systemd-journald.socket network.target 
-.mount network-online.target

[Mount]
What=192.168.1.103:/Multimedia/Music
Where=/mnt/nas/music/
Type=nfs
Options=auto,user,nfsvers=3
TimeoutSec=10

[Install]
______________________________________

No success.

The error is always the same: "network is unreachable".

Please tell me if you need some other information.

Thanks for your help.

Michele

-- 
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