Release Engineering

Tasklist

FS#22502 - It's impossible to define multiple lvm partitions on top of a dm_crypt partition.

Attached to Project: Release Engineering
Opened by Carlos Licea (clicea) - Wednesday, 19 January 2011, 07:23 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Thursday, 07 July 2011, 05:37 GMT
Task Type Bug Report
Category AIF
Status Closed
Assigned To Dieter Plaetinck (Dieter_be)
Architecture All
Severity Low
Priority Normal
Reported Version 2010.05
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
It's impossible to define multiple lvm partitions on top of a dm_crypt partition.


Steps to reproduce:
*Create a dm_crypt partition.
*Create an LVM partition.
*Try to add a 2 partitions on the LVM partition. Apply the changes. The installer will fail because it cannot create one of them.

Also, and might be related, it's really hard to set the size of a partition, in one part (partitioning) it's in MB, in the file system creation it's on MiB, so it's pretty hard to do the math.
This task depends upon

Closed by  Dieter Plaetinck (Dieter_be)
Thursday, 07 July 2011, 05:37 GMT
Reason for closing:  Works for me
Comment by Ionut Biru (wonder) - Wednesday, 19 January 2011, 08:54 GMT
what iso have you used?
Comment by Carlos Licea (clicea) - Wednesday, 19 January 2011, 08:59 GMT
The latest one. The 2011.01.09 from http://releng.archlinux.org/isos/
Comment by Dieter Plaetinck (Dieter_be) - Wednesday, 19 January 2011, 12:05 GMT
what is an lvm "partition"?
let alone an "adding a partition on the lvm partition"???
also, give me the output of the report-issues tool.
Comment by Carlos Licea (clicea) - Wednesday, 19 January 2011, 18:07 GMT
Damn. Unfortunately I needed the machine immediately so I reused an older installer. So I cannot use the report-issues tool.

I had 3 partitions.
1 formated as an ext4
1 formated as a dm_crypt. Then on top of it a Swap.
1 formated as dm_crypt. On top of it a lvm file system. Inside that lvm file system I had 2 "partitions" (?) a smallish ~20GB for root and 680GiB for home.

When I added root everything was fine. But then I tried to add home, root is fine in the creation of FS screen (I could see /dev/mapper/lvm-root) but when I was adding another partition inside LVM, the root partition disappeared and I had a partition called lvm instead. When I applied the changes it made the home partition just fine but would fail in the root partition.

I hope you can understand my problem with this description. It was completely reproducible to me, I tried to do it a couple of times and every time it failed, when I used an older installer I had no problems.
Comment by Dieter Plaetinck (Dieter_be) - Wednesday, 19 January 2011, 18:13 GMT
you first need to make an LVM PV, then an LVM VG, and in the VG, you can make multiple LV's.
I think I sortof get an idea of what you're trying to say, but without the output of the report-issues tool, I can't help.
Comment by Carlos Licea (clicea) - Wednesday, 19 January 2011, 20:39 GMT
Yes, I knew you'd have troubles without some hard evidence. Sorry I cannot provide it.
The MiB and MB still stands, though ;-)

Loading...