<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - btrfs raid on plain dmcrypt fails to boot randomly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88483#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - btrfs raid on plain dmcrypt fails to boot randomly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88483">bug 88483</a>
from <span class="vcard"><a class="email" href="mailto:dutch109@gmail.com" title="dutch109@gmail.com">dutch109@gmail.com</a>
</span></b>
<pre>I am hit by this bug too (Arch Linux with Linux 4.4 & systemd 231).
None of the workarounds I found here and elsewhere did work, I tried:
* explicitely require all devices in /etc/fstab with device=xxx,device=yyy
* setting filesystem to noauto,x-systemd.automount in /etc/fstab and noauto in
/etc/crypttab (it did work until a recent update)
* adding btrfs in MODULES array in /etc/mkinitcpio.conf
I finally "fixed" it by setting the filesystem to noauto in /etc/fstab (so they
are NOT mounted by systemd at boot), and creating a simple service that mounts
the missing partitions later.
/etc/systemd/system/late-mount.service :
[Unit]
Description=Mount directories that systemd fail to mount
[Service]
ExecStart=/etc/systemd/system/late-mount
[Install]
WantedBy=multi-user.target
/etc/systemd/system/late-mount:
#!/bin/bash -e
mount /xxx
mount /xxx/yyy</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>