On Saturday, 31 August 2024 15:32:38 BST Daniel Frey wrote:
> I have a few frontends on TVs and use automount on some NFS sources.
> 
> However, I can't seem find a way to start the nfs client services on
> startup. Wiki for NFS and other documentation says that systemd does
> this automatically (and it does) but I'm trying to eliminate a delay.
> 
> The frontend start up and when you go to the screen that scans the
> folder, it takes 5-10 seconds for systemd to start these services and
> mount the NFS locations.
> 
> On openrc this is simple and it takes less than a second at that screen.
> 
> It is not waiting for a network, as on startup the interface connects to
> a database and this part is working fine (it would be blank if it
> started with no network.)
> 
> Dan

Does 'systemd-analyze blame' show which service component causes the delay(s)?  
If the same service dependency occurs on both systems then it ought to take 
the same time to automount an exported directory.  This points to some systemd 
specific  service dependency/hierarchy causing the delay - as long as all 
other configuration variables remain the same.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to