-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Udiskie mounts each part of btrfs RAID1 array as a separate mount #201
Comments
Hi, thanks for your comment! Being honest, I don't have much experience with neither RAID nor btrfs. I'm aware that RAID and LVM are currently not supported very well, and it would be awesome to change that. However, I cannot promise to have time to do that anytime soon. Contributions are welcome in these matters. Best, Thomas |
Thanks for the quick reply! Actually I think this is well supported (I'm not quite sure about LVM RAID though). Just creates too many mount paths than necessary. I was thinking about having an in-memory map of UUIDs to mount points and if a partition UUID is already mounted then skip mounting. In my case two partitions have the same UUID (after luks unwrapping): |
That's probably the simplest solution. Not sure it works in all cases. Another one might be see if udisks provides any info on the RAID structure. Can you check if there are any relevant sections in the output of |
It seems
But a funny coincidence that it sees the second partition as having two |
Hi,
I have a RAID1 btrfs setup that has two disk parts. It looks like this:
And udiskie mounts each part separately:
It doesn't hurt but it would be enough to mount just one of them.
Notice that after unlocking both parts have the same UUID (
bf958e29-f40e-4665-a7c2-3d65f9db0ac3
).By the way: big thank you for this extremely useful piece of software ❤️
The text was updated successfully, but these errors were encountered: