Rog,

Alternativly you could just mount a file rather then a physical device
as your loopback/encrypted partition. This way you dont need to resize
your existing partitions.

http://tldp.org/HOWTO/Loopback-Encrypted-Filesystem-HOWTO.html

Hope this helps


-- 
Dave Peters
On Thu, Apr 22, 2004 at 04:49:30PM +1000, Roger Barnes wrote:
> Hiyall,
> 
> I've decided that I'm not pushing my luck enough by piling bleeding edge 
> technologies on top each other, and I want to try encrypting my ext3 
> LVM2 /home partition with cryptoloop (on a 2.6.4 kernel).
> 
> To achieve this, I belive I have to create a new logical volume (with an 
> encrypted filesystem of sorts) and copy the data across.  And in order 
> to do this, I must first shrink my existing home volume to make room (I 
> have enough free space).  Judging by a number of mailing list threads 
> I've seen, it appears that shrinking an ext3 partition on LVM2 is a 
> scary prospect (calculating block sizes, rebuilding journals and other 
> such strangeness).  Has anyone had any experience with doing this (and 
> therfore advice), and more importantly, am I crazy for trying (no real 
> need actually exists to encrypt my filesystems, it's just cool)? :p
> 
> I've read through the LVM howto (including its several recent updates), 
> and it doesn't provide a great deal of help.  It seems that another 
> initial filesystem choice would have made things simpler.
> 
> </ramble>
> 
> Cheers,
> - Rog
> 
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to