PDA

View Full Version : [ubuntu] LUKS on multiple physical volumes



Fait
August 22nd, 2012, 05:54 AM
Hi, Im trying to install Ubuntu 12.04 on two drives with lvm. Im using the alternate install disc. I selected manual partitioning and set up both drives as AES encrypted then added them to a volume group and created a logical volume for root and another for home. My problem is that I need two passwords, one for each encrypted drive. I just want one password, effectivly I want to encrypt the volume group not have a separate password for each physical volume. EDIT: I want 1 encryption password. I realize I will have two passwords 1 for encryption and 1 for user. Right now I have 2 encryption passwords and when combined with my user password it makes three.

intel
August 23rd, 2012, 09:32 PM
Redo teh setup

put multiple pv/stripes on the two disks
combine all the stripes/pv on all disk into single unencrypted LVM

create an encrypted volume on top of it.
etc etc

Cheers!

DiagonalArg
August 27th, 2012, 08:51 AM
I too have exactly this question. intel (or someone) could you flesh out your answer? It's just a bit cryptic for me.

Thanks

/DA

DiagonalArg
August 28th, 2012, 08:44 AM
Ok, I see the problem. In my case, I don't want to throw everything together into one LVM. The issue is, I have two RAID devices, one of which has more redundancy than the other. I want to keep some volumes (root, swap) on a device with more redundancy and one (backup) on a device with less. If I throw them all together, then I won't be able to control which devices go with which volumes. Whether there is some way to get around this issue, I'm still not clear.

So far I'm getting no love on the installation & upgrade thread. I think I'll go over and try on the security forum.