partman-lvm cannot access luks-crypted newly-created partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-lvm (Debian) |
Fix Released
|
Unknown
|
|||
partman-lvm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: partman-lvm
Trying to install Xubuntu Intrepid Ibex Alpha-5 on an EeePC 701 (4G internal + 4G SDHC memory card)
My partitioning steps are:
- sda1: use as /
- sdb1: encrypt using LUKS
- sdb1_cryptp1: replace default ext3 partition by LVM PV
- Start LVM partitioning
- - accept writing modification to sdb1_crypt
Then I get an error and console #4 reads:
partman-lvm: Can't open /dev/mapper/
Using console #2, I did:
# dmsetup ls
=> Reports sdb1_crypt, sdb1_cryptp1
# dmsetup remove sdb1_cryptp1
=> Then partman-lvm can start
Note: When I first encountered this problem, "dmsetup remove sdb1_cryptp1" wasn't enough so I did instead
# dmsetup remove_all
# cryptsetup luksOpen /dev/sdb1 sdb1_crypt
Then I can create my LVM partitions.
But when I tried to end partitioning and apply the changes, sdb1_cryptp1 is back and the creation fails. So maybe the problem is more with partman-crypt...
Related branches
Changed in partman-lvm: | |
status: | Unknown → Fix Released |
I tried to simply create an encrypted partition, without LVM and the problem is still present - so I guess the correct package is partman-crypto.