11 May
2010
11 May
'10
12:23 p.m.
Am 11.05.2010 13:13, schrieb Matthew Monaco:
I've done a number of lvm2/luks setups. On the luks end, are you setting your keysize too low? For aes-xts-plain, the key size can only be 256 or 512, so if you set it to 128 you'll have a problem.
aes-xts-plain also allows 384.
The other thing I've wound up doing every time for it to work is to make sure I use the same exact name for the encrypted disk and the vg. So typically I call the dm-crypt parition "vg0" so it mounts to /dev/mapper/vg0
That isn't necessary. The name of the dm-crypt volume doesn't matter at all actually. I always call it "lvm" or "pv".