Public bug reported:

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: ubuntu
     Importance: Undecided
         Status: New


** Tags: btrfs luks lvm mount

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1279660

Title:
  luks+lvm+btrfs raid1 confuses linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1279660/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to