From owner-freebsd-geom@FreeBSD.ORG Wed Sep 21 21:42:43 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02D9F16A41F for ; Wed, 21 Sep 2005 21:42:43 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 638B043D49 for ; Wed, 21 Sep 2005 21:42:40 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 28A0E52CF6; Wed, 21 Sep 2005 23:42:38 +0200 (CEST) Received: from localhost (dls5.neoplus.adsl.tpnet.pl [83.24.48.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id A30D152CD0; Wed, 21 Sep 2005 23:42:28 +0200 (CEST) Date: Wed, 21 Sep 2005 23:41:42 +0200 From: Pawel Jakub Dawidek To: "Frank J. Beckmann" Message-ID: <20050921213630.GA1167@garage.freebsd.pl> References: <200509201734.00353.frank@barda.agala.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O5XBE6gyVG5Rl6Rj" Content-Disposition: inline In-Reply-To: <200509201734.00353.frank@barda.agala.net> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng devel (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: geli encrypted memory disk? 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: Wed, 21 Sep 2005 21:42:43 -0000 --O5XBE6gyVG5Rl6Rj Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 20, 2005 at 05:33:57PM +0200, Frank J. Beckmann wrote: +> Hi, +>=20 +> after upgrading to FreeBSD 6.0-BETA4 from the 17th I wanted to play a bi= t with=20 +> geli. First try was an encryptet memory disk. +>=20 +> dd if=3D/dev/zero of=3D/var/sdisk bs=3D2028 count=3D220 +> mdconfig -a -t vnode -S 2048 -f /var/sdisk -u 3 +> geli init -a AES -s 2048 /dev/md3 +>=20 +> Geli asks me the new password twice and then exits with the following er= ror: +>=20 +> Cannot store metadata on /dev/md3: Invalid argument. +>=20 +> What am I doing wrong? You used 2028 block size with dd(1), you probably wanted to use 2048. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --O5XBE6gyVG5Rl6Rj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDMdOWForvXbEpPzQRAuCFAJ9co5beaoVn7NQPQ1zKsrasZ5Q3mgCglD+0 ZkMrEEurQ+E+ssSdXS82YRU= =++bc -----END PGP SIGNATURE----- --O5XBE6gyVG5Rl6Rj--