linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] cryptsetup
@ 2006-07-12 16:01 Denny Schierz
  2006-07-12 17:24 ` [linux-lvm] cryptsetup *SOLVED* Denny Schierz
  0 siblings, 1 reply; 2+ messages in thread
From: Denny Schierz @ 2006-07-12 16:01 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 1135 bytes --]

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

-- 
Sicherheit verständlich http://www.sides.de
GnuPG Key
http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0

[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] cryptsetup *SOLVED*
  2006-07-12 16:01 [linux-lvm] cryptsetup Denny Schierz
@ 2006-07-12 17:24 ` Denny Schierz
  0 siblings, 0 replies; 2+ messages in thread
From: Denny Schierz @ 2006-07-12 17:24 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

Denny Schierz schrieb:
> 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.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-12 17:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-12 16:01 [linux-lvm] cryptsetup Denny Schierz
2006-07-12 17:24 ` [linux-lvm] cryptsetup *SOLVED* Denny Schierz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).