Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMulti-device btrfs may timeout for "missing" device due to race in device link creation. #5866
Labels
Comments
|
@arvidjaar We have this old downstream bug report which looks related |
|
And to round it off, I now have situation when link is wrong but does not match systemd state:
I have no idea how is it possible. |
|
Uh, afaics this is a duplicate of #5781. Let's keep discussions at one place, please. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
btrfs multi-device processing relies on announcing only the last device that resulted in btrfs being assembled and ready for mounting. This means that only
UUIDorLABELcan be used to mount btrfs on assumption that these links will point to the last device. But even these links are not deterministic - event for device that caused btrfs to become complete may be processed faster than event for other btrfs devices, soUUIDorLABELlink may point to "non-existent" devices (those withSYSTEMD_READY=0). As we never resetSYSTEMD_READY, it means required device is never present and mounting fails.This is cloned from issue 5781, more details are present in #5781 (comment)