Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
On Tue, Sep 20, 2005 at 05:33:57PM +0200, Frank J. Beckmann wrote:
+> Hi,
+> 
+> after upgrading to FreeBSD 6.0-BETA4 from the 17th I wanted to play a bit with 
+> geli. First try was an encryptet memory disk.
+> 
+> dd if=/dev/zero of=/var/sdisk bs=2028 count=220
+> mdconfig -a -t vnode -S 2048 -f /var/sdisk -u 3
+> geli init -a AES -s 2048 /dev/md3
+> 
+> Geli asks me the new password twice and then exits with the following error:
+> 
+> Cannot store metadata on /dev/md3: Invalid argument.
+> 
+> What am I doing wrong?

You used 2028 block size with dd(1), you probably wanted to use 2048.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFDMdOWForvXbEpPzQRAuCFAJ9co5beaoVn7NQPQ1zKsrasZ5Q3mgCglD+0
ZkMrEEurQ+E+ssSdXS82YRU=
=++bc
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050921213630.GA1167>