Date: Wed, 21 Sep 2005 23:41:42 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: "Frank J. Beckmann" <frank@barda.agala.net> Cc: freebsd-geom@freebsd.org Subject: Re: geli encrypted memory disk? Message-ID: <20050921213630.GA1167@garage.freebsd.pl> In-Reply-To: <200509201734.00353.frank@barda.agala.net> References: <200509201734.00353.frank@barda.agala.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050921213630.GA1167>