[Bug 1279660] Re: luks+lvm+btrfs raid1 confuses linux
mhosken
1279660 at bugs.launchpad.net
Thu Feb 13 09:20:46 UTC 2014
In keeping with a similar bug #890779, I am assuming this is a
udisks/udev issue. But the encryption aspect and the inability for it to
take down the lvm to release the encryption may be from somewhere else.
** Package changed: ubuntu => udisks (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udisks in Ubuntu.
https://bugs.launchpad.net/bugs/1279660
Title:
luks+lvm+btrfs raid1 confuses linux
Status in “udisks” package in Ubuntu:
New
Bug description:
I created a luks encrypted partition on an external drive, and put lvm
with a single group and two volumes into the partition. I then used
mkfs.btrfs to create a raid1 (-d raid1 -m raid1) mirror of the two lvm
volume devices. After rebooting (yes, it's that bad) and plugging in
the external drive again, two drives appear on the list of available
drives, even though they are a raid pair. If you click on one then it
mounts OK. If you click the other or click to mount again the mounter
will mount the device again in another directory of /media.
If I then unmount those manually I can't stop the drive using disks or
lock the encrypted partition (this probably being the cause of the
other). If I give up and unplug, then the two block devices for the
lvm volumes remains and I can't replug later without a reboot.
I raise this bug since I can imagine that down the line, this could
become a common use case if btrfs isn't going to support direct
encryption for those wanting self healing, encrypted, compressed,
browsable backups.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/1279660/+subscriptions
More information about the foundations-bugs
mailing list