07.02.2019 22:39, Austin S. Hemmelgarn пишет: > The issue with systemd is that if you pass 'degraded' on most systemd > systems, and devices are missing when the system tries to mount the > volume, systemd won't mount it because it doesn't see all the devices. > It doesn't even _try_ to mount it because it doesn't see all the > devices. Changing to degraded by default won't fix this, because it's a > systemd problem. >
Oh no, not again. It was discussed millions of times already - systemd is using information that btrfs provides. > The same issue also makes it a serious pain in the arse to recover > degraded BTRFS volumes on systemd systems, because if the volume is > supposed to mount normally on that system, systemd will unmount it if it > doesn't see all the devices, regardless of how it got mounted in the > first place. > *That* would be systemd issue indeed. If someone can reliably reproduce it, systemd bug report would certainly be in order.