bcachefs-tools
bcachefs-tools copied to clipboard
bcachefs usermode helper fails to mount multiple devices when used in the fstab
mount.bcachefs uses UUID= which is a reserved keyword. This means that systemd-fstab-generator replaces the UUID with a single device and doesn't call the usermode helper.
I'm not sure if this is a bug in systemd for not calling the helper or mount.bcachefs for using UUID=
py1hon mention that ~~BCACHEFS_UUID=~~ OLD_BLKID_UUID= can be used in this situation to workaround UUID= being parsed by systemd. This still would need work to figure out a proper way to handle that with systemd.
I just found this trying to figure out what OLD_BLKID_UUID
is. Relevant? https://github.com/koverstreet/bcachefs-tools/commit/9ee211eacad51bce6858ca9b9755b6c9eb253f2e
The name doesn't seem very intuitive of what it does, however I read it is used to bypass udev parsing of UUID, which is very useful in that context.
It's supposed to be a stopgap measure, until we have time to dig into all the various userspace/systemd integration issues.