From owner-freebsd-geom@FreeBSD.ORG Fri Jan 12 00:41:40 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E77D16A40F for ; Fri, 12 Jan 2007 00:41:40 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id A3C3D13C459 for ; Fri, 12 Jan 2007 00:41:39 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H5AUB-0001PF-Q2 for freebsd-geom@freebsd.org; Fri, 12 Jan 2007 01:41:35 +0100 Received: from 83-131-104-224.adsl.net.t-com.hr ([83.131.104.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Jan 2007 01:41:35 +0100 Received: from ivoras by 83-131-104-224.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Jan 2007 01:41:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Fri, 12 Jan 2007 01:41:19 +0100 Lines: 43 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig78FEF9148CFAA187314D1EF0" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-104-224.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: X-Enigmail-Version: 0.94.1.2 Sender: news Subject: Re: How to mirror a geli partition? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2007 00:41:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig78FEF9148CFAA187314D1EF0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Christian Baer wrote: > This is actually the biggest problem I am facing. In what order do I do= > this? I was thinking along this way: > 1 - Create partions and try to get them the same size. :-) > 2 - Fill one (or both?) with random data. > 3 - Make a geli provider out of one of them, newfs it. > 4 - Do something like 'gmirror label -v -b load secret 1.eli' > and 'gmirror insert 2.eli' > I am not sure if I should reverse the order of 3 and 4. Or have I gotte= n > the whole idea wrong? >=20 > Can someone point me in the right direction? First mirror the partitions and then create geli drive on top of it. If you do it the other way (encrypt each of the partition separately), you will be asked for password twice and each drive will (AFAIK) get its own internal key even if you use the same password (I'm not sure about that one, though). --------------enig78FEF9148CFAA187314D1EF0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFptk1ldnAQVacBcgRAnlsAKDYcIq04n1VEnaL+MGBqxBFYVKHJQCgnIaW rvune1F5JgNnCqCDu7/vJ60= =/b3y -----END PGP SIGNATURE----- --------------enig78FEF9148CFAA187314D1EF0--