Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36165

systemd, nfs, automount

$
0
0
Heya guys,

I'm trying to figure out why my systemd boot time has increased from just over 6 seconds to an extremely slow ~18 seconds.

Now by boot time, I mean "time till I can type my password".

Looking at systemd-analyse plot, I can see most of the time is waiting for the NetworkManager-wait-online service, because of course NFS requires this to mount.

... But it's a lowly NFS mount, so I have tried using "x-systemd.automount" in /etc/fstab .
This should push the mounting of the NFS share back to when I want to browse into the sub-directory.... Right?
So why am I getting over a 10 second delay waiting for resources I don't care about at boot time?
Is there any way I can stop systemd trying to mount it at boot and have it only mount it when I browse to the directory?

Any help here would help, as the documentation seems a bit... well, not as great as it could be, and the internet isn't very helpful (neither is Leonnart's blog)

--
old486whizz

Viewing all articles
Browse latest Browse all 36165

Trending Articles