cryptsetup
hi,
i try to encrypt logical volumes, but it seems, that it doesn't work. Can i use only real partitions?
I have several virtual hosts with Xen and every hosts has it own data and swap volume. For example:
ACTIVE '/dev/daten/vhost1_swap' [500.00 MB] inherit ACTIVE '/dev/daten/vhost2_swap' [500.00 MB] inherit ACTIVE '/dev/daten/vhost3_swap' [500.00 MB] inherit ACTIVE '/dev/daten/vhost4_swap' [500.00 MB] inherit ACTIVE '/dev/daten/irc_swap' [500.00 MB] inherit ACTIVE '/dev/daten/mx_swap' [500.00 MB] inherit ACTIVE '/dev/daten/vhost4_daten' [100.00 GB] inherit
PV /dev/hda8 VG daten lvm2 [92.58 GB / 0 free] PV /dev/hdc8 VG daten lvm2 [92.58 GB / 82.23 GB free]
I these example, i want to crypt /dev/daten/vhost4_daten:
root@xendom0:~# cryptsetup -y create data /dev/daten/vhost4_daten Command failed: Invalid argument
So, what for options i have?
cu denny
Signature · 3 lines
Sicherheit verständlich http://www.sides.de GnuPG Key http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0
Re: [linux-lvm] cryptsetup *SOLVED*
Quoted 4 lines · Denny Schierz
hi,
i try to encrypt logical volumes, but it seems, that it doesn't work. Can i use only real partitions?
it was my fault. I compiled the wrong cryptsetup version without luks extension. I tried allready the version from breezy and it let me type the password, but nothing more.
Now i have the static compiled version from here:
http://luks.endorphin.org/ and i was able to create the crypted logical volume :-)
thanks.