PDA

View Full Version : [ubuntu] How to add a new disk in rootvg in LUKS / LVM installation



albundy83
December 2nd, 2011, 02:38 PM
Hello,

I have setup my Ubuntu 11.10 installation with the following parameters :
- LVM with a main volume group called rootvg,
- 3 logical volumes called lv_home, lv_root and lv_swap,
All this is encrypted using LUKS.
My first hard drive is called /dev/sda.
My encrypted partition is /dev/sda5.

I like to add a new physical disk called /dev/sdb to extend my volume group rootvg and create a lv_downloads (to mount a /Downloads).
I like to encrypt it also and use the same encryption....

Does someone could help me please ?

albundy83
December 2nd, 2011, 11:54 PM
Another question.... Is it possible to decrypt 2 disks with one passphrase at boot?

albundy83
December 5th, 2011, 09:46 AM
Any one could help me please ?

awh018
May 10th, 2012, 04:15 AM
Hello,

I was wondering if you ever got any further on this. I have a similar setup and I'd like to know how to add a new drive to my encrypted LVM setup. Searching relevant terms hasn't helped me much. I've found a lot of info on adding drives to unencrypted LVM, but not encrypted. I've seen references to modifying startup files in order to decrypt the new drive, but nothing specific about what those files/modifications need to be.

Thanks.