[systemd-devel] Antw: failing unmounts during reboot

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Mon Jul 29 06:23:13 UTC 2019


>>> Frank Steiner <fsteiner-mail1 at bio.ifi.lmu.de> schrieb am 25.07.2019 um 14:14 in
Nachricht <913a3c04-a666-b44b-c6ec-fe3d8a7fe95e at bio.ifi.lmu.de>:
> Ulrich Windl wrote:
> 
>> *1: I have a support call open with SUSE:
>> Before systemd (almost) all processes were killed before unmounting.
>> With systemd I'm seeing excessive reboot delays due to unmount timing out. 
> For example if you have a process started from NFS that has a log file on NFS 
> open, too.
>> It seems the order is roughly like this:
>> 1) Shutdown the network
>> 2) Try unmounting filesystems, including NFS
>> 3) Kill remaining processes
> 
> I cannot confirm that, at least not for SLES/D 15. All mount units
> for NFS filesystems created from fstab get "Before=remote-fs.target",
> so they are shutdown before the network goes down. Check in
> /run/systemd/generator to see if this entry is missing in your units.

In SLES12 SP4 (originally reported for SP3) I have:
# Automatically generated by systemd-fstab-generator

[Unit]
SourcePath=/etc/fstab
Documentation=man:fstab(5) man:systemd-fstab-generator(8)
Before=remote-fs.target

[Mount]
What=server:/exports/home
Where=/home
Type=nfs

> 
> 
> -- 
> Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/ 
> Lehrstuhl f. Bioinformatik    Mail: http://www.bio.ifi.lmu.de/~steiner/m/ 
> LMU, Amalienstr. 17           Phone: +49 89 2180-4049
> 80333 Muenchen, Germany       Fax:   +49 89 2180-99-4049
> * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *






More information about the systemd-devel mailing list