Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 115876

Summary: Use EVMS for cryptsetup-luks DM objects
Product: Gentoo Linux Reporter: Brad Allen <ULMO>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
URL: ftp://ftp.sonic.net/pub/users/qm/gentoo/evms.tar.7z
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: tarball of portage overlay modified to implement described enhancement to EVMS

Description Brad Allen 2005-12-17 13:22:19 UTC
+I like to put my entire disk or partition in cryptsetup-luks type LUKS partitions/disks.  Then, I use EVMS on top of that.  That way, not only are the various EVMS meta files and object sizes encrypted, but I can resize my EVMS partitions easily inside EVMS as normal without having to wait for EVMS team to support LUKS directly.  To do this, one needs EVMS to recognize the cryptsetup luksOpen created device-mapper device(s) as a device EVMS ought to look at in this way.  This has to be carefully done, since you could create loops, so carefully read the email attached and specify the correct options to EVMS and DM configuration files (/etc/evms.conf and /etc/lvm/lvm.conf).  It works great for me on two systems I have.

This requires a patch in EVMS.  It is rather simple.  I modified the latest EVMS ebuild by adding someone's patch for this (since they also wanted to do it) and put it into my portage OVERLAY directory.  Contained in the referenced URL (<URL:"ftp://ftp.sonic.net/pub/users/qm/gentoo/evms.tar.7z">) is a tar that has this overlay portage ebuild and associated files.

P.S., if you have trouble reading evms.tar.7z, here are some hints:

file emvs.tar.7z   tells you:
evms.tar.7z: 7z archive data, version 0.2

emerge -s 7z       tells you:
*  app-arch/p7zip
[...]

so emerge p7zip and then:
7z x -so evms.tar.7z | tar xf -

Thanks.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-17 13:26:44 UTC

*** This bug has been marked as a duplicate of 115875 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-12-17 13:27:03 UTC
CLOSED
Comment 3 Brad Allen 2005-12-17 13:27:58 UTC
Created attachment 74956 [details]
tarball of portage overlay modified to implement described enhancement to EVMS

/etc/portage overlay directory of modified EVMS latest ebuild and additional patch implementing EVMS enhancement.  To get to tarball contents, do:

 7z x -so evms.tar.7z | tar vtf -

or

 7z x evms.tar.7z
 tar xf evms.tar

7z is in Gentoo package p7zip (emerge p7zip).