geli encrypted memory disk?

Frank J. Beckmann frank at barda.agala.net
Tue Sep 20 09:42:09 PDT 2005


Moin,

am Dienstag, 20. September 2005 18:02 schrieb Eric Anderson:
> Frank J. Beckmann wrote:
> > 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?
>
> Probably the bs=2028 is messing things up?

Oh, yes, that was it. I always looked at mdconfig and geli only.
Thank you very much.
-- 
Frank


More information about the freebsd-geom mailing list