[systemd-devel] BUG: Huge Problem: systemd does not mount all filesystems on Boot

Juergen Sauer juergen.sauer at automatix.de
Fri Oct 14 09:11:04 UTC 2016


Moin,

Systemd 231, Archlinux current

The concept is /home is to be mounted from nfs server. Works.
For performance reasons (email thunderbird, kde/plasma 5.8.x i.e odr
gnome are unusable if home is pure nfs) the user sub dirs .local,
.cache, .config, .thunderbird etc. are mounts from local fs (btrfs
subvolume).

Network is without NetWorkmanager (masked), fixed configured via
systemd-networkd.

The Problem is, after boot /home is mounted or not, random result. WTF?!?

The BUG is:
The btrfs subvols are i.g. mounted - disobeying the
x-systemd.requires=home.mount rule.

I have this fstab
## Grundsystem
LABEL=pc11root          /               btrfs
rw,relatime,compress=lzo,ssd_spread,discard,space_cache,subvol=rootfs   0 0
LABEL=pc11root          /vm             btrfs
rw,relatime,compress=lzo,ssd_spread,discard,space_cache,subvol=vm       0 0
LABEL=pc11root          /pc11           btrfs
rw,relatime,compress=lzo,ssd_spread,discard,space_cache,subvol=/,noauto 0 0
LABEL=swap              none            swap            defaults        0 0

192.168.11.10:/home        /home   nfs
nofail,x-systemd.device-timeout=1,x-systemd.requires=network-online.target
    0 0

LABEL=pc11root /home/leander/.cache       btrfs
ssd,ssd_spread,discard,compress=lzo,noatime,subvol=user/leander/cache,x-systemd.requires=home.mount
0 0
LABEL=pc11root /home/leander/.config      btrfs
ssd,ssd_spread,discard,compress=lzo,noatime,subvol=user/leander/config,x-systemd.requires=home.mount
0 0
LABEL=pc11root /home/leander/.kde4        btrfs
ssd,ssd_spread,discard,compress=lzo,noatime,subvol=user/leander/kde4,x-systemd.requires=home.mount
0 0
LABEL=pc11root /home/leander/.local       btrfs
ssd,ssd_spread,discard,compress=lzo,noatime,subvol=user/leander/local,x-systemd.requires=home.mount
0 0
LABEL=pc11root /home/leander/.thumbnails  btrfs
ssd,ssd_spread,discard,compress=lzo,noatime,subvol=user/leander/thumbnails,x-systemd.requires=home.mount
0 0
LABEL=pc11root /home/leander/.thunderbird btrfs
ssd,ssd_spread,discard,compress=lzo,noatime,subvol=user/leander/thunderbird,x-systemd.requires=home.mount
0 0
LABEL=pc11root /home/leander/.wine        btrfs
ssd,ssd_spread,discard,compress=lzo,noatime,subvol=user/leander/wine,x-systemd.requires=home.mount
0 0


How to fix?

mit freundlichen Grüßen
Jürgen Sauer
-- 
Jürgen Sauer - automatiX GmbH,
+49-4209-4699, juergen.sauer at automatix.de
Geschäftsführer: Jürgen Sauer,
Gerichtstand: Amtsgericht Walsrode • HRB 120986
Ust-Id: DE191468481 • St.Nr.: 36/211/08000
GPG Public Key zur Signaturprüfung:
http://www.automatix.de/juergen_sauer_publickey.gpg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20161014/e2e99d42/attachment.sig>


More information about the systemd-devel mailing list