NFS volume not mounting with systemd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hello,
I'm unable to mount NFS volume at boot time with systemd. Using Ubuntu 18.04.2 LTS.
I commented out /etc/fstab entry:
#192.168.
I created "/etc/systemd/
[Unit]
Description=NAS volume - Music
After=network.
[Mount]
What=192.
Where=/
Type=nfs
Options=
TimeoutSec=10
[Install]
WantedBy=
I enabled it with "systemctl enable mnt-nas-
enable
But I keep obtaining this error ("systemctl status mnt-nas-
mnt-nas-
Loaded: loaded (/etc/systemd/
Active: failed (Result: exit-code) since Tue 2019-07-30 21:23:42 CEST; 29min ago
Where: /mnt/nas/music
What: 192.168.
Process: 1530 ExecMount=
lug 30 21:23:42 ubuntu-desktop systemd[1]: Mounting NAS volume - Music...
lug 30 21:23:42 ubuntu-desktop mount[1530]: mount.nfs: Network is unreachable
lug 30 21:23:42 ubuntu-desktop systemd[1]: mnt-nas-
lug 30 21:23:42 ubuntu-desktop systemd[1]: mnt-nas-
lug 30 21:23:42 ubuntu-desktop systemd[1]: Failed to mount NAS volume - Music.
If I run "journalctl -b" I notice that the attempt to mount NFS volume happens before network is ready:
lug 30 21:23:42 ubuntu-desktop systemd[1]: Failed to mount NAS volume - Music.
lug 30 21:23:48 ubuntu-desktop NetworkManager[
I think this is a bug.
Thanks in advance
Michele
affects: | ubuntu → systemd (Ubuntu) |
tags: | added: bionic |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1838464/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]