geli encrypted memory disk?
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Sep 21 14:42:43 PDT 2005
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 at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20050921/14ba1c58/attachment.bin
More information about the freebsd-geom
mailing list