[Bug 1279660] [NEW] luks+lvm+btrfs raid1 confuses linux

Launchpad Bug Tracker 1279660 at bugs.launchpad.net
Thu Feb 13 09:20:47 UTC 2014


You have been subscribed to a public bug:

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.

** Affects: udisks (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment btrfs luks lvm mount
-- 
luks+lvm+btrfs raid1 confuses linux
https://bugs.launchpad.net/bugs/1279660
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to udisks in Ubuntu.



More information about the foundations-bugs mailing list