Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [gentoo-user] LVM, crypto, and backup

From: Albert Hopkins <marduk(at)letterboxes.org>
Date: Sun Dec 16 2007 - 15:15:12 EST

On Sun, 2007-12-16 at 11:52 -0800, felix@crowfix.com wrote:
> I want to set up two portable 1TB drives so users have their own LVM
> partitions to mount as crypto drives. These partitions would have to
> be mounted manually with the passpharse supplied by each user (this is
> a family setup, just a few users). But I want the system to be able
> to backup one 1TB drive to the other for offline backup.
>
> 1. What crypto system to use?
>
> 2. I have planned this with each user having their own LVM partition,
> but would it be possible to use one passphrase and make the entire
> drive crypto, then run LVM on top of that? This is a curiousity
> question more than anything. It might be handy for a system disk
> someday, but not now.
>
> 3. What is the right way to backup one 1TB drive to the other? dd
> would probably work, but that sounds rather crude, not to mention
> it would have to copy the entire 1TB over USB. It would be a lot
> faster to only backup what is needed. I want to backup partitions
> automatically once a week, without knowing the passphrase or
> requiring the partitions to be mounted. If each LVM partition is
> only expanded as necessary, unused space in each partition would
> be kept to a minimum. Or is it possible for the backup to only
> backup as much of each partition as is used, without knowing the
> passphrase or having it mounted? I suspect not, but I don't know.
>

I would probably use encfs, forget about the one-lvm-per-user complexity, and just back up the encrypted filesystem just like any other fs.

--
Albert W. Hopkins

-- 
gentoo-user@gentoo.org mailing list
Received on Sun Dec 16 15:16:10 2007

This archive was generated by hypermail 2.1.8 : Sat Jun 07 2008 - 16:06:05 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library