[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: d-i beta3, raid, loop-aes and lvm



Hi Philipp,

On Tue, Oct 03, 2006 at 03:16:49PM +0200, Philipp Engel wrote:
> I nest the LVM stuff in the encrypted device so that I only have to  
> enter the password once during the boot process. Sadly, this does not  
> work. I can create the raid and loop-device on top, but then the  
> installer does not allow me to put lvm into it, but only one normal  
> partition (e.g. ext3).

Yes, that is a known limitation. Although there are no fundamental
reasons why LVM-on-loop-AES should not work, partman-lvm currently does
not consider /dev/loop* valid backing devices for LVM and so won't
offer the "Use for LVM" option. This should be relatively easy to fix,
but I haven't manged to find time for it yet, unfortunately.

> A friend of mine succeded trying this using dm-crypt instead of
> loop-aes.

partman-lvm "knows" about dm-crypt encrypted devices and explicitly
allows them to be used for LVM.

cheers,
Max



Reply to: